I am using jQuery tabs and an ASP.NET listview to display and edit some information. My problem is that when a user inserts a new record in one of the listview items my jQuery tabs go back to the first tab. Is there a way to keep track of which tab I am on or keep it from resting on post back?
Share
In ASP.NET, you can store it in a hidden field without having to use a cookie (no need for the jQuery cookie reference).
Use this:
Then in the body, declare your hidden tab field:
Basically, on selection of a tab you are storing the selected tabs value in the asp hidden field. Then on show you are retrieving the value.