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




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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