Gets or sets the field template to use for displaying the data field.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
Use the property to specify the field template to use to display the UI for a data field. Field templates by default are user controls and their names contain a suffix to identify field templates that are used for edit operations and insert operations. The suffixes are _edit and _insert, respectively. When you set a value to the property, you set the name without the suffixes. Dynamic Data will identify the current mode of the data field and will render the correct field template.
If the property is not set, Dynamic Data by default will render the field template based on the field type. For more information, see ASP.NET Dynamic Data Scaffolding.
The field template that you specify using the property is specific to this instance of the DynamicField class. You can also change the field template used by a data field across the entire application by applying the UIHintAttribute to your data model. Setting the property overrides the metadata applied to the data model. For more information about metadata attributes, see ASP.NET Dynamic Data Overview.
The OnFieldChanged method is called to raise a state change event when the property is set.
The value of the property is stored in view state.
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.