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
Hi,
can you upload a sample application where this exception is reproducing consistently on postback. Also specify the NetAdvantage version or service release you are using.
Thanks,
Lubomir
Version Info:
Infragistics35.Web.v10.1, Version=10.1.20101.1011
Although my production application fails on every postback on every page where the menu is shown, I have been unable to reproduce it in a sample application.
Unfortunately I cannot supply the entire application, but I have attached the Header control, which contains the menu and a sample page that utilizes the Header.
Thanks for the assistance.