gridview sort

My user wants gridview to be sorted along with able to remember the sort on coming back to the page, visiting any other page.
welcome 123Asked:
Who is Participating?
CodeCruiserConnect With a Mentor Commented:
1) To enable sorting, set the AllowSorting property of the gridview to true

2) Handle the Sorting event of the gridview to get the sorting that the user has applied and store it in session

3) On page load, if the user had previously sorted the gridview, apply that sorting using the Sort method
käµfm³d 👽Commented:
What is your question?
welcome 123Author Commented:
looks like all is working, I would close the question t'row after testing one more thing. Thanks a lot
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.