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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Overridable Function GetDesignTimeHtml As String
'Usage
Dim instance As DataFormWebPart
Dim returnValue As String
returnValue = instance.GetDesignTimeHtml()
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public virtual string GetDesignTimeHtml()
Return Value
Type: System.String
The design-time HTML.
Implements
IDesignTimeHtmlProvider.GetDesignTimeHtml()
Remarks
The design host calls this method to get the design-time HTML before rendering the control.