GetDesignTimeHtml Method
Collapse the table of content
Expand the table of content

BaseDataBoundControlDesigner.GetDesignTimeHtml Method ()


Generates the markup that is used to render the control at design time.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

Public Overrides Function GetDesignTimeHtml As String

Return Value

Type: System.String

The markup used to render the control at design time.

The BaseDataBoundControlDesigner class retrieves sample data that is used for binding purposes at design time before rendering the control. If the control is not data bound, it calls the GetEmptyDesignTimeHtml method. If there is an error rendering the control, it calls the GetErrorDesignTimeHtml method.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft