GridView::PageIndexChanged Event
.NET Framework (current version)
Occurs when one of the pager buttons is clicked, but after the GridView control handles the paging operation.
Assembly: System.Web (in System.Web.dll)
The PageIndexChanged event is raised when one of the pager buttons is clicked, but after the GridView control handles the paging operation. This enables you to provide an event-handling method that performs a custom routine, such as a custom paging operation, whenever this event occurs.
To determine the index of the page selected by the user, use the PageIndex property of the GridView control.
For more information about handling events, see NIB: Consuming Events.
.NET Framework
Available since 2.0
Available since 2.0
Show: