Has anyone seen this error?
LoadViewState_Exception
Here's the stack trace:
at Infragistics.Web.UI.Framework.ObjectCollection.LoadViewStateItems(ArrayList itemList) at Infragistics.Web.UI.Framework.ObjectCollection.LoadViewState(Object savedState) at Infragistics.Web.UI.Framework.ObjectCollection.System.Web.UI.IStateManager.LoadViewState(Object savedState) at Infragistics.Web.UI.NavigationControls.NavItem.System.Web.UI.IStateManager.LoadViewState(Object state) at Infragistics.Web.UI.Framework.ObjectCollection.LoadViewStateItems(ArrayList itemList) at Infragistics.Web.UI.Framework.ObjectCollection.LoadViewState(Object savedState) at Infragistics.Web.UI.Framework.ObjectCollection.System.Web.UI.IStateManager.LoadViewState(Object savedState) at Infragistics.Web.UI.NavigationControls.NavControl.LoadViewState(Object savedState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByID(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Page.LoadAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
My menu is part of a user control and the menu is added dynamically and every page that does any kind of post back this happens. I have set EnableViewState to "false" but then the menu disappears.
I have also tried moving the code from Page_Load to Page_Init. No help.
I have also tried adding [ViewStateModeById] to my control class. Also no help.
As you can see I am getting desperate.
Any suggestions?
Thanks!
Louis
Hello pcgsystems,
The issue has been identified and already resolved. Fix will be released in the next service release. Release schedule you can refer here.
Hope this helps.
Hi, I'm also experiencing this issue. Has developer support made any headway with reproducing and/or identifying the problem.
I have a very simple scenario where i'm dynamically loading about 6 or 7 menu items into the webdatamenu control. On first load it displays as expected but upon any postback it fails with the above LoadViewState_Exception.
Any help would be appreciated.
Thanks, I'll head over there and keep everyone posted.
Hi Louis,
I've created a support ticket in your behalf. The support case number is CAS-48891-S19JW3. Please isolate this issue and send it to me over the support case and I will get back to you soon.
Apologies for the inconvenience.
Thanks.
Hi,
Of course you will not post this on the forums. You have to contact developer support and give them your code. I see that there is a support request associated with this forum post: CAS-48891-S19JW3.
Thanks,
Lubomir