Tab

ASPxPagerBase.PageSizeChanged Event

Fires on the server side after the page size (number of items per page) is changed by end-user interactions.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public event EventHandler PageSizeChanged

Event Data

The PageSizeChanged event's data class is EventArgs.

Remarks

Page size, i.e., the maximum number of items that can be displayed on a page, is specified by the ASPxPagerBase.ItemsPerPage property.

End-users can change the page size using the page size item element. Additionally, the All navigation button can be used to display all items.

The PageSizeChanged event allows you to perform any custom actions after the page size is changed by end-user interactions. Before the page size is changed, the ASPxPagerBase.PageSizeChanging event is raised, allowing you to cancel the action.

NOTE

When a control displays all items, the ASPxPagerBase.ItemsPerPage property returns the last specified numerical value.

See Also