RadGrid for ASP.NET AJAX Version Q3 2008 released 11/25/2008 (release history)

Advanced sorting

Run example in: C# VB.NET

Working with RadGrid Advanced Sorting feature
Select field name: Select sort order:
Add sort expression
 
Allow multi-column sorting:

CountryCityCompany nameContact nameContact title
1 2 3 4 5 6 7 8 9 10 
GermanyBerlinAlfreds FutterkisteMaria AndersSales Representative
MexicoMéxico D.F.Ana Trujillo Emparedados y heladosAna TrujilloOwner
MexicoMéxico D.F.Antonio Moreno TaqueríaAntonio MorenoOwner
UKLondonAround the HornThomas HardySales Representative
SwedenLuleåBerglunds snabbköpChristina BerglundOrder Administrator
GermanyMannheimBlauer See DelikatessenHanna MoosSales Representative
FranceStrasbourgBlondesddsl père et filsFrédérique CiteauxMarketing Manager
SpainMadridBólido Comidas preparadasMartín SommerOwner
FranceMarseilleBon app'Laurence LebihanOwner
CanadaTsawassenBottom-Dollar MarketsElizabeth LincolnAccounting Manager



Custom sort criteria:
  • Click the "First Name" column to sort by string length
  • Click the "Last Name" column to sort descending on first click
First nameLast name
NancyDavolio
AndrewFuller
JanetLeverling
MargaretPeacock
StevenBuchanan
MichaelSuyama
RobertKing
LauraCallahan
AnneDodsworth

Example Source Code & Description

Compatible with ASP.NET 2.0, 3.5 AJAX enabled Accessibility Verified!Valid XHTML 1.1! Optimized for Visual Studio 2005, 2008
Copyright 2002-2008 © Telerik. All right reserved  | 
Telerik Inc, 275 Grove Street, 4th Floor, Newton MA 02466