asp.net.ph

GridView.Sorted Event

System.Web.UI.WebControls Namespace   GridView Class


.NET Framework version 2.0

Occurs when the linkbutton to sort a column is clicked, but after the GridView control handles the sort operation.

[ VB ]
Public Event Sorted As EventHandler

[ C# ]
public event EventHandler Sorted;

[ C++ ]
public: __event EventHandler* Sorted;

In [ JScript ], you can handle the events defined by a class, but you cannot define your own.

Remarks

The Sorted event is raised whenever any of the LinkButton controls used for sorting a GridView is clicked, but after the GridView control handles the sort operation.

This allows you to provide an event-handling method that performs a custom routine, such as custom sorting, whenever this event occurs.


See Also

GridView   AllowSorting Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph