ReportViewer.Sort Event

Occurs when the user activates a sort on the report data.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public Event Sort As SortEventHandler
'Usage
Dim instance As ReportViewer
Dim handler As SortEventHandler

AddHandler instance.Sort, handler
public event SortEventHandler Sort
public:
event SortEventHandler^ Sort {
    void add (SortEventHandler^ value);
    void remove (SortEventHandler^ value);
}
/** @event */
public void add_Sort (SortEventHandler value)

/** @event */
public void remove_Sort (SortEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event occurs when the user activates a sort on the report data. Information about this event is passed in a SortEventArgs object to the SortEventHandler delegate, which handles the event.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace