Failed to load viewstate. The control tree into which viewstate...
I am saving the view state of the page to database and when i navigating back to the page i am loading the state from the persistant viewstate and am displaying the page using Page.LoadPageStateFromPersistenceMedium().
Then I added a control (Text Control) to the same page and when i tried to load the page using LoadPageStateFromPersistenceMedium() it gives me following server error.
"Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request."
Is there any way to handle it??
Any help highly appriciated.