Main Page

  Previous Section Next Section


System.Web.UI.WebControls (system.web.dll)sealed class

This class provides extra information for the DataGrid.PageIndexChanged event. This information 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").

public sealed class DataGridPageChangedEventArgs : EventArgs {
// Public Constructors
   public DataGridPageChangedEventArgs(object commandSource, int newPageIndex);
// Public Instance Properties
   public object CommandSource{get; }
   public int NewPageIndex{get; }


System.Object System.EventArgs DataGridPageChangedEventArgs

Passed To

DataGrid.OnPageIndexChanged( ), DataGridPageChangedEventHandler.{BeginInvoke( ), Invoke( )}

      Previous Section Next Section