Back to Devexpress

ASPxPagerBase.PageIndexChanged Event

aspnet-devexpress-dot-web-dot-aspxpagerbase-153152b1.md

latest2.2 KB
Original Source

ASPxPagerBase.PageIndexChanged Event

Fires after the selected page has been changed.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event EventHandler PageIndexChanged
vb
Public Event PageIndexChanged As EventHandler

Event Data

The PageIndexChanged event's data class is EventArgs.

Remarks

The PageIndexChanged event fires in the cases listed below:

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

PageIndex

PageIndexChanging

Pager

ASPxPagerBase Class

ASPxPagerBase Members

DevExpress.Web Namespace