ASPxPagerBase.PageIndexChanged Event
Fires after the selected page has been changed.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Event Data
The PageIndexChanged event's data class is EventArgs.
Remarks
The PageIndexChanged event fires in the cases listed below:
- an end-user has switched between pages by clicking the numeric or navigation button;
- a new value has been assigned to the ASPxPagerBase.PageIndex property in code.
Note
End-users can display all items on a page by clicking the All item in the page size item dropdown window, or by clicking the All navigation button. In this case, the PageIndexChanged event fires and the ASPxPagerBase.PageIndex property returns -1.
Before the page index is changed, the ASPxPagerBase.PageIndexChanging event is raised, allowing you to cancel the action.
See Also