Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CmsDataFormWebPart.GetTemplateName method

Returns the template name of the CmsDataFormWebPart component.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

protected static string GetTemplateName(
	ListControl ddl,
	string displayName


Type: System.Web.UI.WebControls.ListControl

A ListControl object that represents the properties, methods, and events of the CmsDataFormWebPart component.

Type: System.String

A string that contains the display name for which to retrieve the template name.

Return value

Type: System.String
© 2015 Microsoft