Edit

Share via


FieldTemplateFactory.GetFieldTemplateVirtualPath Method

Definition

Determines the virtual path of a field template.

public:
 virtual System::String ^ GetFieldTemplateVirtualPath(System::Web::DynamicData::MetaColumn ^ column, System::Web::UI::WebControls::DataBoundControlMode mode, System::String ^ uiHint);
public virtual string GetFieldTemplateVirtualPath (System.Web.DynamicData.MetaColumn column, System.Web.UI.WebControls.DataBoundControlMode mode, string uiHint);
abstract member GetFieldTemplateVirtualPath : System.Web.DynamicData.MetaColumn * System.Web.UI.WebControls.DataBoundControlMode * string -> string
override this.GetFieldTemplateVirtualPath : System.Web.DynamicData.MetaColumn * System.Web.UI.WebControls.DataBoundControlMode * string -> string
Public Overridable Function GetFieldTemplateVirtualPath (column As MetaColumn, mode As DataBoundControlMode, uiHint As String) As String

Parameters

column
MetaColumn

Specifies the data column which the field template applies to.

mode
DataBoundControlMode

Specifies the display mode of the field template-Read Only, Edit, or Insert.

uiHint
String

Specifies the field template to use. This parameter affects the field template look up.

Returns

The virtual path of the field template.

Remarks

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.

Applies to