DataGridSortCommandEventArgs::CommandSource Property
.NET Framework (current version)
Gets the source of the command.
Assembly: System.Web (in System.Web.dll)
Use the CommandSource property to get the command source that raises the SortCommand event. Because this event is raised only when a link is clicked in the header of the DataGrid control, the returned source is a DataGridItem object that represents the header. This property can be used to programmatically control the header.
.NET Framework
Available since 1.1
Available since 1.1
Show: