Author: Abe Lincoln | Posted on: 4/30/2010 3:14:39 PM | Views : 689

UPDATE:
I posted the question below, and then discovered that the code I posted does work, if the button is not in the GridView header. In fact, I can't seem to make the button in the header do anything.
As long as I can trigger the sort, I can make this work somehow, but ideally, I'd like the mechanism to be in the headers.
Any ideas on why that button isn't working? 
Original message:
I've got a GridView bound to a SQLDataSource, and have sorting enabled. This works great, but some of my users will have JavaScript disabled, and the page has to have the same functionality for them.
I've looked into sorting a GridView without JavaScript, but all the solutions I've found assume that I'm NOT binding to SQLDataSource - because of course, If I were, I'd just enable sorting. So I wind up back where I started.
Is there a way for me to enable sorting for both regular ...

Go to the complete details ...