DataPagerDesigner Class
Provides design-time support in a visual designer for the DataPager control.
Assembly: System.Web.Extensions.Design (in System.Web.Extensions.Design.dll)
In a visual designer, when you switch to a designer view (such as Design view in Visual Studio), the markup that describes the DataPager control is parsed. A design-time version of the control is then created on the design surface. When you switch to source view, the design-time control is persisted as markup for the Web page.
The properties of the DataPagerDesigner class provide the following functionality:
The ActionLists property returns the list of items that are used to create a smart tag panel.
The PagedControlID property is used as the designer (shadowed) version of the DataPager::PagedControlID property.
The TemplateGroups property returns a collection of template groups for the templated pager fields of the associated DataPager control.
The UsePreviewControl property always returns true, which indicates that the designer creates a temporary copy of the associated DataPager control in order to generate the design-time markup.
The methods of the DataPagerDesigner class provide the following functionality:
The GetDesignTimeHtml and GetEmptyDesignTimeHtml methods return the HTML markup that is used to render the associated DataPager at design time.
The Initialize method prepares the designer to view, edit, and design the associated DataPager control.
The PreFilterProperties method is used to add or remove properties from the properties grid for the DataPager control.
System.ComponentModel.Design::ComponentDesigner
System.Web.UI.Design::HtmlControlDesigner
System.Web.UI.Design::ControlDesigner
System.Web.UI.Design.WebControls::DataPagerDesigner
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.