Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetDesignTimeHtml method
Collapse the table of content
Expand the table of content

DataFormWebPart.GetDesignTimeHtml method

Returns the control as design-time HTML for editing in web development tools.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public virtual string GetDesignTimeHtml()

Return value

Type: System.String
The design-time HTML.



The design host calls this method to get the design-time HTML before rendering the control.

© 2015 Microsoft