NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid SortCommand Event

[To be supplied.]

The following declaration shows the syntax for a method that handles the SortCommand event.

[Visual Basic]
Protected Sub DataGridName_SortCommand( _
   ByVal sender As Object, _
   ByVal e As DataGridSortCommandEventArgs _
)
[C#]
protected void DataGridName_SortCommand(
   object sender,
   DataGridSortCommandEventArgs e
);
[C++]
protected: void DataGridName_SortCommand(
   Object* sender,
   DataGridSortCommandEventArgs* e
);
[JScript]
protected DataGridName_SortCommand(
   sender : Object,
   e : DataGridSortCommandEventArgs
);

Parameters

sender
The source of the event.
e
A DataGridSortCommandEventArgs that contains the event data. The following DataGridSortCommandEventArgs properties provide information specific to this event.
Property Description
CommandSource
[To be supplied.]
SortField
[To be supplied.]

See Also

DataGrid Class | DataGrid MembersTopic | System.Web.UI.WebControls Namespace