A few weeks ago, I decided to try RadCompression on my website, and followed the instructions here. It seemed to work fine in FireFox (which I use for development), but when we finally got around to cross-browser testing, found that several pages started getting an exception in System.Web.UI.Page.RegisterRequiresControlState(), for example:
1. It only seems to affect Chrome browser
2. Removing RadCompression stopped the error
3. Keeping RadCompression but changing the browser controlAdapter from RadSessionPageStateCompression to RadHiddenFieldPageStateCompression stopped the error
Is there any reason why this would happen only in Chrome? Is there something else I need to use RadSessionPageStateCompression?
Thanks for any info
[Edit: I'm using v2011.1.519.35]
Ross Crawford
[InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Collections.IDictionary'.]
System.Web.UI.Page.RegisterRequiresControlState(Control control) +104
System.Web.UI.WebControls.PasswordRecovery.OnInit(EventArgs e) +32
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.AddedControl(Control control, Int32 index) +198
System.Web.UI.ControlCollection.Add(Control child) +80
System.Web.UI.WebControls.Login.CreateChildControls() +175
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +23
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +327
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +327
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +327
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +327
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +327
System.Web.UI.Page.FindControl(String id) +38
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +232
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1743
In debugging the issue, I found that1. It only seems to affect Chrome browser
2. Removing RadCompression stopped the error
3. Keeping RadCompression but changing the browser controlAdapter from RadSessionPageStateCompression to RadHiddenFieldPageStateCompression stopped the error
Is there any reason why this would happen only in Chrome? Is there something else I need to use RadSessionPageStateCompression?
Thanks for any info
[Edit: I'm using v2011.1.519.35]
Ross Crawford