unsorting a gridview (original order)

J

JohnE

The users are asking for a way to 'unsort' a sorted gridview. They could
sort a column but afterwards want to return the gridview back to its original
order. To make it simple, a button at the bottom of the gridview (outside of
the grid) would be placed for the user to 'unsort'.
What and how is the best approach to doing this? Links and examples are good.
Thanks.
john
 
S

Stan

Why not just reload the page or, if using AJAX, the UpdatePanel...?

Also bear in mind John that you can override the default sort
expression for any column (i.e. just the column on its own) with
something as complex as you wish.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top