ComponentOne ProgressBar for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / C1GridView Class / Sorting Event

In This Topic
    Sorting Event
    In This Topic
    Occurs when the hyperlink to sort a column is clicked, but before the System.Web.UI.WebControls.GridView control handles the sort operation.
    Syntax
    'Declaration
     
    Public Event Sorting As C1GridViewSortEventHandler
    public event C1GridViewSortEventHandler Sorting
    Event Data

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

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets or sets the direction in which to sort the C1GridView control.  
    Gets or sets the expression used to sort the items in the C1GridView control.  
    Remarks
    To cancel the operation set the Cancel property of the C1GridViewSortEventArgs object to true. You must implement this event if the grid is not bound to a DataSource control.
    See Also