J
Jaydeep
Hi All,
When I submit a form using JavaScript by giving action equal to some
different page, it gives me error, View State of default page is corrupted.
I wrote a small JavaScript to validate a form, if ok then used these lines
document.formname.action="secondpage.aspx" and then
document.formname.submit()
Interestingly it worked when my all(server side and HTML) code is in a
single aspx page but, when I converted it into aspx(HTML code) and (all
server-side code in code behind page)aspx.cs pages then it started giving
this error.
What could be the reason ?
TIA
JD
When I submit a form using JavaScript by giving action equal to some
different page, it gives me error, View State of default page is corrupted.
I wrote a small JavaScript to validate a form, if ok then used these lines
document.formname.action="secondpage.aspx" and then
document.formname.submit()
Interestingly it worked when my all(server side and HTML) code is in a
single aspx page but, when I converted it into aspx(HTML code) and (all
server-side code in code behind page)aspx.cs pages then it started giving
this error.
What could be the reason ?
TIA
JD