APNSoft Controls [4.5.2.20] - API Reference
APNSoftDataGrid.SortCommand Event

Occurs on the server side when a sort command is fired.

[Visual Basic]
Public Event SortCommand As DataGridEventHandler
[C#]
public event DataGridEventHandler SortCommand;

Event Data

The event handler receives an argument of type DataGridEventArgs containing data related to this event. The following DataGridEventArgs properties provide information specific to this event.

PropertyDescription
CellValue Gets the cell value when the event is raised.
EditFormFields Gets a Hashtable object that represents fields in the Edit Form.
ExportBytes Gets or sets a sequence of bytes for the response.
ExportContentType Gets or sets the content type for the response.
ExportData Gets or sets the data to export when the event is raised.
ExportFileName Gets or sets the name of the file that is the data to export.
ExportShowHeader Gets or sets a value indicating whether the header row is displayed in the data to export.
GridColumn Gets the referenced column in the DataGrid control when the event is raised.
GridRow Gets the referenced row in the DataGrid control when the event is raised.
GridRowKeyValue Gets or sets a value of the key field in selected record. This property is commonly used in a handler for an event, such as InsertCommand or UpdateCommand, to set a new key value for the selected record. It helps component to highlight appropriate row after INSERT/UPDATE.
PageNumber Gets the page number when the event is raised.
Parameter Gets or sets a value of parameter when the event is raised.

See Also

APNSoftDataGrid Class | APNSoft.WebControls Namespace