This documentation is archived and is not being maintained.

DataPagerDesigner Class

Provides design-time support in a visual designer for the DataPager control.

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

public class DataPagerDesigner : ControlDesigner

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:

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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