Hi everyone,
I need to keep the state of a page and be able to restore it when the user
navigate back to this page. So far, I overloaded the
LoadPageStateFromPersistenceMedium and SavePageStateToPersistenceMedium to
persist the page state within the user's Session.
Unfortunately, when the user navigate back to the page, the
LoadPageStateFromPersistenceMedium method is not called by the framework
(it seems to be called only when the page is loaded after a postback). I
did not found a way to force the page to reload its Viewstate. A method
named LoadPageViewState() exists in the System.Web.UI.Page class but it is
a friend method... so I cannot call it directly from my code.
Does anyone have a clue on how I can persist and restore the page state?
Does the version 1.1 of ASP.NET will allow us to force a reload of the
state by calling the LoadPageViewState() method?
Thanks,
David