DataControlFieldDesigner.GetTemplate(DataBoundControl, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ITemplate object that contains the template markup for the specified data-bound control.
protected:
System::Web::UI::ITemplate ^ GetTemplate(System::Web::UI::WebControls::DataBoundControl ^ control, System::String ^ templateContent);
protected System.Web.UI.ITemplate GetTemplate (System.Web.UI.WebControls.DataBoundControl control, string templateContent);
member this.GetTemplate : System.Web.UI.WebControls.DataBoundControl * string -> System.Web.UI.ITemplate
Protected Function GetTemplate (control As DataBoundControl, templateContent As String) As ITemplate
Parameters
- control
- DataBoundControl
The data-bound control.
- templateContent
- String
The template markup.
Returns
An object that contains the template markup for the specified data-bound control.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.