Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my page, I am using an asp update panel and inside that I am using a asp DropDownList for selecting users. when selecting any value in dropdownlist the selected users details will be shown in a grid ,

and I am using session to store the selected value of dropdownlist, but when I use the browser's back button, the last selected value is not retaining, because of using asynchonous postback using update panel

when not using update panel the value will be retained.

How can I retain the value in update panel and show when use the browser's back button?
Posted
Comments
As you said, you are storing the value in Session, so it should exist and you can retrieve that. Any problems with this?
Jijutj 19-Jan-15 3:46am    
the values are in session, but when we click the back button of the browser, the page load will not fired and the values are getting from cache.
The problem is that when we press back, the browser shows the last url, but returns to the last actual page load. Any AJAX content is forgotten.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900