BaseDataBoundControlDesigner.GetEmptyDesignTimeHtml Method

Provides the markup that is used to render the control at design time if the control is empty or if the data source cannot be retrieved.

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

protected:
virtual String^ GetEmptyDesignTimeHtml () override
protected String GetEmptyDesignTimeHtml ()
protected override function GetEmptyDesignTimeHtml () : String
Not applicable.

Return Value

The markup used to render the control at design time with an empty data source.

The BaseDataBoundControlDesigner class retrieves sample data that is used for binding purposes at design time before rendering the control. The empty design-time control renders as a placeholder that contains the type name and control name.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: