The state information is invalid for this page and might be corrupted
This seems to be a pretty common question. But I have not yet found a post where the basic issue is addressed.
I have a heavily ajaxed application and I am running into this. In a nutshell, the ASPX page is litle more than a series of divs that are populated w/ HTML by AJAX calls. If anyone has comments on these basic questions I would greatly appreciate it. I will begin a sample app and see if I can answer them as well.
- Does the removal of
runat=server
controls w/ Ajax cause this. - If i populate a DIV w/ the HTML that is generated by a
runat=server
control , will that trigger this. - Is there a way to lobotomize a
runat=server
control before returning it as part of an ajax ctl.
( For example - a repeater is really nice to build a table. Can i use the repeater and then remove some syntax from the HTML before I send the response to the client. I can do the looping if i have to.. )
4) Is there something I can put in the header to make this whole thing go away.
Page Language="vb"
AutoEventWireup="false"
CodeBehind="frustration.aspx.vb"
_Inherits="Portal.frustration"
EnableViewState="false"
enableViewStateMAC="false"
EnableEventValidation="false"
ValidateRequest="false"
ViewStateEncryptionMode="Never"
MasterPageFile="~/_MasterPages/Admin.Master"
Thanks, greg.