DataControlFieldDesigner::CreateTemplateField Method (DataControlField^, DataBoundControl^)
.NET Framework (current version)
When overridden in a derived class, creates a TemplateField field for the specified data field.
Assembly: System.Design (in System.Design.dll)
public: virtual TemplateField^ CreateTemplateField( DataControlField^ dataControlField, DataBoundControl^ dataBoundControl ) abstract
Parameters
- dataControlField
-
Type:
System.Web.UI.WebControls::DataControlField^
The data field.
- dataBoundControl
-
Type:
System.Web.UI.WebControls::DataBoundControl^
The data-bound control that contains the data field.
The CreateTemplateField method is invoked when you click on the link to convert a data field into a TemplateField in the fields editor.
.NET Framework
Available since 2.0
Available since 2.0
Show: