This documentation is archived and is not being maintained.
FieldTemplateFactory::CreateFieldTemplate Method
Visual Studio 2010
Creates an instance of a field template using the MetaColumn class, the DataBoundControlMode class and UIHint property.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
public: virtual IFieldTemplate^ CreateFieldTemplate( MetaColumn^ column, DataBoundControlMode mode, String^ uiHint )
Parameters
- column
- Type: System.Web.DynamicData::MetaColumn
Specifies the data column which the field template applies to.
- mode
- Type: System.Web.UI.WebControls::DataBoundControlMode
Specifies the display mode of the field template.
- uiHint
- Type: System::String
Specifies the field template to use.
Return Value
Type: System.Web.DynamicData::IFieldTemplateAn instance of the interface that the FieldTemplateFactory class implements.
Implements
IFieldTemplateFactory::CreateFieldTemplate(MetaColumn, DataBoundControlMode, String)Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: