Skip to main content
A newer version of this page is available. .
Tab

ASPxPager Class

Represents an ASPxPager control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public class ASPxPager :
    ASPxPagerBase

Remarks

The ASPxPager is a standalone control that enables you to implement custom paging algorithms by handling the ASPxPagerBase.PageIndexChanging and ASPxPagerBase.PageIndexChanged events. For an example, see online demo.

The image below shows the ASPxPager control.

ASPxPager_class

The number of pages is returned by the ASPxPagerBase.PageCount property. The active (selected) page is identified by its index via the ASPxPagerBase.PageIndex property. This property can also be used to select the desired page in code.

The number of items that every page displays is specified by the ASPxPagerBase.ItemsPerPage property. The maximum number of page numbers displayed within a pager is specified by the ASPxPagerBase.NumericButtonCount property.

The ASPxPager is embedded to other DevExpress controls, e.g., ASPxDataView, ASPxGridView, etc, to provide page-mode navigation (see the image below).

ASPxPager_embed

Note

This control doesn’t implement any public client-side API.

See Also