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:
virtual String^ GetDesignTimeHtml() override

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
Show: