asp.net.ph

GridViewSortEventArgs Class

System.Web.UI.WebControls Namespace


.NET Framework version 2.0

Provides data for the Sorting event of a GridView control.

GridViewSortEventArgs Class Members

Collapse   Constructors

Visibility Constructor Parameters
public GridViewSortEventArgs ( String sortExpression , SortDirection sortDirection )

Collapse   Properties

Visibility Name Value Type Accessibility
public SortDirection SortDirection [ Get , Set ]
public SortExpression String [ Get , Set ]

Remarks

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

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

For more information about handling events, see Web Forms Events Model.

See Also

GridView   AllowSorting   GridViewSortEventHandler 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