Getting the error : The viewstate is invalid for this page and might be corrupted
-
The code below in the HTML is throwing me the above error : WebForm3 function fire() { document.Form1.action = "WebForm4.aspx"; document.Form1.submit(); }
I am firing the javascript using but1.Attributes.Add("OnClick", "fire();") I want the hidden variable on WebForm4.aspx. How can I get the same
-
The code below in the HTML is throwing me the above error : WebForm3 function fire() { document.Form1.action = "WebForm4.aspx"; document.Form1.submit(); }
I am firing the javascript using but1.Attributes.Add("OnClick", "fire();") I want the hidden variable on WebForm4.aspx. How can I get the same
Hi Use Server.Transfer to redirect to a new page. Remove Javascript function Request.Form["id"] to get value from previous form that is posted to new page.
Rate this message. Thank you. Harini :)
-
Hi Use Server.Transfer to redirect to a new page. Remove Javascript function Request.Form["id"] to get value from previous form that is posted to new page.
Rate this message. Thank you. Harini :)
-
I want to do as it is without any changes as this is the requirement. I do not want to do nay thing in the code behind file.
Hi I found one solution for that. Set
EnableViewStateMac="false"
at the Page attribute in the WebForm4.aspx file. :)
Rate this message. Thank you. Harini :)
-
I want to do as it is without any changes as this is the requirement. I do not want to do nay thing in the code behind file.
Thanks harini ur idea worked, Now i want to do something in a work around way. I have an aspx page , on which i have removed the complete parts. on this page I am printing a value from the Session , which contains a form by itself. Now I want to change the action of this form and also submit this form so that I can get the hidden variables of this form on another normal aspx page. could u suggest how to go about with this problem