Two-Way DataGrid Sorting Using Properties and Viewstate


Server Intellect Web Hosting Solutions


Two-Way DataGrid Sorting Using Properties and Viewstate

Author: Eric Maxwell

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.










More Tutorials

Also See:

Getting Started with AJAX 1.0
Health Monitoring in ASP.NET 2.0
Write Custom WebParts for SharePoint 2007
Working with WebParts Page, WebPart Zones & WebParts
Implementing Multilingual Applications in Microsoft .NET
VS.NET and VSS: Adding a solution to VSS
Atlas 2: HTTP POST is slower and it's default in Atlas
Build A C# WebSite Monitor Service with Email and MSN Messenger Notification
A Better CAPTCHA Control (Look Ma! No Image!)
Paging with the ObjectDataSource control.



Copyright© 2005 ASP Intellect | All Rights Reserved

ASP.NET Tutorials
AspNet Tutorials ASP.NET 2.0 Code Examples, Snippets and Tutorials

ASP.NET Tutorials C++ Tutorials C# Tutorials Visual Studio.NET Tutorials
.NET Framework Tutorials Mobility Tutorials Office Tutorials Visual Basic.NET Tutorials