The event arguments passed when RadGrid sorts happens.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class GridSortCommandEventArgs : GridCommandEventArgs, IGridCommandEvent
Inheritance: objectEventArgsCommandEventArgsGridCommandEventArgsGridSortCommandEventArgs
Derived Classes:
Implements:
Inherited Members
Constructors
C#
public GridSortCommandEventArgs(GridItem item, object commandSource, object argument, GridSortOrder oldSortOrder, GridSortOrder newSortOrder)
Properties
Gets the new sort order of the current sort expression.
C#
public virtual GridSortOrder NewSortOrder { get; }
The new sort order of the current sort expression.
Gets the old sort order of the current sort expression.
C#
public GridSortOrder OldSortOrder { get; }
The old sort order of the current sort expression.
Gets the sort expression associated with the performed sorting.
C#
public string SortExpression { get; }
The sort expression associated with the performed sorting..
Methods
Executes the command associated with the sort event.