Search:
Namespaces
Discussions
.NET v1.1
Feedback
Two-Way DataGrid Sorting Using Properties and Viewstate
Details
Related Types
Site:
DotNetJunkies
Original URL:
http://www.dotnetjunkies.com/HowTo/B7C5AB3C-4D2E-4800-A071-6F40D57699C3.dcik
Summary:
Microsoft's DataGrid control provides miles of flexibility. However, upon closer inspection of the DataGrid's sort feature you may realize that it lacks the ability to perform two-way sorting (ascending and descending). One was to sort is to use hidden HTML fields. As an alternative, this article will show you an example of handling two-way sorting using class properties and viewstate.
System.Data.DataSet
System.DirectoryServices.SortDirection
System.EventArgs
System.Object
System.Web.UI.WebControls.DataGrid
System.Web.UI.WebControls.DataGridSortCommandEventArgs
System.Windows.Forms.DataGrid
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com