System.Web.UI.Design.WebControls.BaseDataBoundControlDesigner.GetDesignTimeHtml Method

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

Syntax

public override string GetDesignTimeHtml ()

Returns

The markup used to render the control at design time.

Remarks

The System.Web.UI.Design.WebControls.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 BaseDataBoundControlDesigner.GetEmptyDesignTimeHtml method. If there is an error rendering the control, it calls the BaseDataBoundControlDesigner.GetErrorDesignTimeHtml(Exception) method.

Requirements

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