Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataControlFieldDesigner.GetTemplate Method

Gets the ITemplate object that contains the template markup for the specified data-bound control.

Namespace:  System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

protected ITemplate GetTemplate(
	DataBoundControl control,
	string templateContent
)

Parameters

control
Type: System.Web.UI.WebControls.DataBoundControl

The data-bound control.

templateContent
Type: System.String

The template markup.

Return Value

Type: System.Web.UI.ITemplate
An object that contains the template markup for the specified data-bound control.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP2, 2.0 SP2
Show:
© 2015 Microsoft