GetEmptyDesignTimeHtml Method

ListViewDesigner.GetEmptyDesignTimeHtml Method

Generates the HTML markup that represents a ListView control at design time that has no visual representation at run time.

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

protected override string GetEmptyDesignTimeHtml()

Return Value

Type: System.String
The HTML markup that represents a ListView control at design time.

The GetEmptyDesignTimeHtml method is used by the designer to render the ListView control at design time if the two required templates for the ListView control (ListView.LayoutTemplate and ListView.ItemTemplate) are not defined. The GetEmptyDesignTimeHtml method calls the CreatePlaceHolderDesignTimeHtml(String) method to create a placeholder that displays the type and the ID of the control, and additional instructions for the user.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

Community Additions

ADD
Show:
© 2016 Microsoft