DynamicFieldDesigner::GetTemplateContent Method (DataControlField^, DataBoundControlMode)

 

Gets the content of the template field.

Namespace:   System.Web.DynamicData.Design
Assembly:  System.Web.DynamicData.Design (in System.Web.DynamicData.Design.dll)

public:
String^ GetTemplateContent(
	DataControlField^ dataControlField,
	DataBoundControlMode mode
)

Parameters

dataControlField
Type: System.Web.UI.WebControls::DataControlField^

The data field object.

mode
Type: System.Web.UI.WebControls::DataBoundControlMode

The display mode for the specified data field.

Return Value

Type: System::String^

The content of the template field.

.NET Framework
Available since 3.5
Return to top
Show: