Gridview sort without Post Back

Looking for a good solution to do Gridview sorting without doing a postback.  On a normal Gridview with Sorting turned on when you click the header link it does a postback and has to reload the entire page.   Looking for the best solution for this task.   Let me know what options I have.
Who is Participating?
RameshSConnect With a Mentor Commented:
You can try to use jQuery JavaScript library to achieve this. It has a plug-in called table TableSorter which helpts turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes.
Check the following links.
Sortable GridView using jQuery's TableSorter
Sorting Gridview using Jquery with ASP.NET
Alpesh PatelCommented:

Gridview sorting without postback is just impossible, because Gridview render as HTML table element and you cant cange HTML table rendering without going back to server....

One more concern is when u apply sorting on any Grid and that Grid itself has some paging then the per page data will be going to change...... and that will only possible through Gridview server object and for that you need postback.......

Now for your problem ...... there is couple of solutions.....

1. you can use AJAX and can do partialpostback only for GridView

2. here is some javascript based tricky thing that you need to develop on your page.
Try to
remoteSort: false

in store`s properties
jholmes0724Author Commented:
What do you mean the remoteSort property, there is no such property on the Gridview.   Can you elaborate more on what you are referring to?
All Courses

From novice to tech pro — start learning today.