This topic has not yet been rated - Rate this topic

FieldTemplateFactory.GetFieldTemplateVirtualPath Method

Determines the virtual path of a field template.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)
public virtual string GetFieldTemplateVirtualPath(
	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-Read Only, Edit, or Insert.
uiHint
Type: System.String
Specifies the field template to use. This parameter affects the field template look up.

Return Value

Type: System.String
The virtual path of the field template.

Dynamic Data field templates are created in the DynamicData/FieldTemplates/ folder but you can create a new folder for your field templates. This method determines the virtual path for the folder that contains the field template using the specified parameters.

.NET Framework

Supported in: 4, 3.5 SP1

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ