srikanta Posted November 8, 2003 Posted November 8, 2003 when I tried to navigate from one web page to another throuhg on click of a button I am not able to retain the previous page values insted I am getting an HTTP error as follows. Pls help, [HttpException (0x80004005): The View State is invalid for this page and might be corrupted.] System.Web.UI.Page.LoadPageStateFromPersistenceMedium() System.Web.UI.Page.LoadPageViewState() System.Web.UI.Page.ProcessRequestMain() Quote
bungpeng Posted November 10, 2003 Posted November 10, 2003 How your source code look like for you to jump from first page to another? You use "redirect" in button click event? Quote
cheena Posted November 11, 2003 Posted November 11, 2003 Hai Just change the current page VIEWSTATE name then it will work ex: <script language ="Javascript"> <!-- function chpost(eval1) { document.Form1.action=eval1; document.Form1.__VIEWSTATE.name='NOVIEWSTATE'; } --> </script> eval1 = called page (second.aspx) Got it,Let me know Cheena Quote
fadi Posted November 11, 2003 Posted November 11, 2003 check if the enableviewstate directive is set to true. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.