Export (0) Print
Expand All

DataPagerDesigner.GetEmptyDesignTimeHtml Method

Generates the HTML markup that represents a DataPager 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 an empty DataPager control at design time.

The GetEmptyDesignTimeHtml method is used by the designer to render the DataPager control at design time if the DataPager.Fields collection is empty. 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.

.NET Framework

Supported in: 4.6, 4, 3.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

© 2014 Microsoft