DataGridPageChangedEventArgs

DataGridPageChangedEventArgs

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; } }

Hierarchy

System.Object System.EventArgs DataGridPageChangedEventArgs

Passed To

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



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net