Last post Dec 16, 2016 09:54 AM by Eric Du
Dec 15, 2016 04:28 PM|ManOfManyHats|LINK
I am writing an asp.net application with multiple panels on a single .aspx page and are using a Master Page. Basically the user will fill out a form and a different panel will show up depending on which items they select. Ultimately when
all the proper information is collected I send it to a results page. It works fine except for when a user hits
Back button. When the user hits the back button the get a page expired message. I would prefer it to retain the history so users could go back and make changes and resubmit as needed.
How can I preserve the history using panels, including when going back from the results.aspx page?
Keep in mind these are regular panels and not update panels. Nor or I using Ajax. However, I am open to using them if that is the recommended method. I did play around the Wizard control but found it challenging to customize.
Dec 16, 2016 09:54 AM|Eric Du|LINK
According to your description, when you submit form page, because not save the submitted data, So can get the data to show. you need store forms values in session and when you back to this page, can get data from session and show !
Save data in session state:
Get data from session state: