This documentation is archived and is not being maintained.

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.
Show: