
DataGridPagerStyle | 845
WebControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
DataGridPageChangedEventArgs
System.Web.UI.WebControls (system.web.dll)
sealed class
This class provides extra information for the DataGrid.PageIndexChanged event. This infor-
mation includes the CommandSource, which will always be the DataGridItem that represents
the page selection control, and the NewPageIndex, which indicates the selected page (the
first page is 0, although it the corresponding link in the DataGrid will be displayed as
“1”).
Hierarchy
System.Object ➝ System.EventArgs ➝ DataGridPageChangedEventArgs
Passed To
DataGrid.OnPageIndexChanged( ), DataGridPageChangedEventHandler.{BeginInvoke( ),
Invoke( )}
DataGridPageChangedEventHandler
System.Web.UI.WebControls (system.web.dll)
serializable
delegate
This delegate specifies the parameter list that a method must have to handle the Data-
Grid.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.
Associated Events
DataGrid.PageIndexChanged( )
DataGridPagerStyle
System.Web.UI.WebControls (system.web.dll)
marshal by reference, disposable
sealed class
This class represents a special style class derived from ...