DataGridSortCommandEventArgs

DataGridSortCommandEventArgs

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

This class provides extra information for the DataGrid.SortCommand event. This information includes the CommandSource, which will always be the DataGridItem that represents the header row, and the SortExpression, which indicates the column (field) title. If you use a System.Data.DataView for your data source, you can assign this expression to the Sort property.

public sealed class DataGridSortCommandEventArgs : EventArgs { // Public Constructors    public DataGridSortCommandEventArgs(object commandSource, DataGridCommandEventArgs dce); // Public Instance Properties    public object CommandSource{get; }    public string SortExpression{get; } }

Hierarchy

System.Object System.EventArgs DataGridSortCommandEventArgs

Passed To

DataGrid.OnSortCommand( ), DataGridSortCommandEventHandler.{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