Note that there are some explanatory texts on larger screens.

plurals
  1. POMaintaining Viewstate
    text
    copied!<p>I am working on an event management system for my work, the basic function of it is to allow people in my office to upload new events to the system, track them and edit them. </p> <p>It is for the most part complete and now I am at the point of cleaning up the system and making it more user friendly. One of the biggest issues I am having is with maintaining view state. I am currently using one search page to filter all of my event results, the user can search by date, date range, client etc and as long as the user stays on the page the system works as intended and all of the search function setting stay as they were. </p> <p>There are some functions such as the edit link that open a new page (same window) where the event is edited and saved. This also works as intended, I pass a queryString to the page to tell the system which one to edit. The problem is the back button. If I use a link that just links to the search page, I loose all my settings, which is kind of annoying if you want to see the changes you just made to the event, I tried a JavaScript back which maintains your viewstate but the page does not refresh so any edits don't show until the user refreshes.</p> <p>There are 3 times I use an outside link on this page, and although it isn't a deal breaker and is just mildly annoying I would like to figure it out as it has been bothering me for sometime. I also tried making the edits in the page but could not figure that out easier and I figured this would be easier to fix.</p> <p>Thank you for reading and hopefully someone can at point me in the right direction with this, I am pretty new to ASP.net and any information I am sure is helpful!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload