Occurs when one of the pager buttons is clicked, but after the System.Web.UI.WebControls.GridView control handles the paging operation.
The GridView.PageIndexChanged event is raised when one of the pager buttons is clicked, but after the System.Web.UI.WebControls.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 GridView.PageIndex property of the System.Web.UI.WebControls.GridView control.
For more information about handling events, see Consuming Events.