0

I’m using asp.net GridView and I want to sort the grid when click on anywhere in the header cell not only the header text.

KRR
  • 465
  • 3
  • 6
  • 22

1 Answers1

0

Maybe add some javascript that launches a postpost back (see this question: for more information on doing so with javascript: ASP.NET postback with JavaScript) and then in your post back, manually fire the gridview's sort event? (or maybe you can call the eventhandler directly in the post back function.

Community
  • 1
  • 1
yougotiger
  • 434
  • 4
  • 18