View_State Currupted

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top