Raises the SortCommand event. This allows you to provide a custom handler for the event.
Assembly: System.Web (in System.Web.dll)
Use the method to provide a custom handler for the SortCommand event.
The SortCommand event is raised when a column is sorted.
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.Notes to Inheritors
When overriding in a derived class, be sure to call the base class's method.
For more information about handling events, see Consuming Events.