
846
|
Chapter 42: The System.Web.UI.WebControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.MarshalByRefObject ➝ System.ComponentModel.Compo-
nent(System.ComponentModel.IComponent, System.IDisposable)
➝ Style(System.Web.UI.
IStateManager)
➝ TableItemStyle ➝ DataGridPagerStyle
Returned By
DataGrid.PagerStyle
DataGridSortCommandEventArgs
System.Web.UI.WebControls (system.web.dll)
sealed class
This class provides extra information for the DataGrid.SortCommand event. This informa-
tion 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.
Hierarchy
System.Object ➝ System.EventArgs ➝ DataGridSortCommandEventArgs
Passed To
DataGrid.OnSortCommand( ), DataGridSortCommandEventHandler.{BeginInvoke( ),
Invoke( )}
DataGridSortCommandEventHandler
System.Web.UI.WebControls (system.web.dll)
serializable
delegate
This delegate specifies the parameter list that a subroutine must have to handle the
DataGrid.SortCommand event. This event specifies additional information about the selected
column (DataGridSortCommandEventArgs.SortExpression), which you can use to build a new data
source. This event