Name
DataGridPageChangedEventHandler
Synopsis
This delegate specifies the parameter list that a method must have to handle the DataGrid.PageIndexChanged
event. If you
are using automatic paging (and have set the DataGrid.AllowPaging
property to True
, but the DataGrid.AllowCustomPaging
property to False
), your event handler only needs to set the new DataGrid.CurrentPageIndex
(for example, ItemsGrid.CurrentPageIndex = e.NewPageIndex
), recreate the data
source, and then rebind it.
Public Delegate Sub DataGridPageChangedEventHandler(
ByVal source As Object,
ByVal e As DataGridPageChangedEventArgs)
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.