Hi,
Does anyone know how to fix this issue?
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Infragistics.Web.UI.ListControls.DropDownItemCollection ViewState is corrupted.Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[InvalidOperationException: Infragistics.Web.UI.ListControls.DropDownItemCollection ViewState is corrupted.] Infragistics.Web.UI.Framework.ObjectCollection.LoadViewStateItems(ArrayList itemList) +426 Infragistics.Web.UI.Framework.ObjectCollection.LoadViewState(Object savedState) +220 Infragistics.Web.UI.Framework.ObjectCollection.System.Web.UI.IStateManager.LoadViewState(Object savedState) +39 Infragistics.Web.UI.ListControls.ListControl.LoadViewState(Object savedState) +138 System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +183 System.Web.UI.Control.AddedControl(Control control, Int32 index) +249 System.Web.UI.ControlCollection.Add(Control child) +80 Infragistics.Web.UI.GridControls.WebDataGrid.ConnectEditorProviders() +200 Infragistics.Web.UI.GridControls.WebDataGrid.CreateChildControls() +28 System.Web.UI.Control.EnsureChildControls() +87 Infragistics.Web.UI.GridControls.WebDataGrid.EnsureChildControls() +117 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +23 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) +626 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1743
Version Information: Microsoft .NET Framework Version:2.0.50727.5444; ASP.NET Version:2.0.50727.5420
Hello netdocs,
You can attach a sample on the thread that I can reproduce on my machine that will receive the error "Infragistics.Web.UI.ListControls.DropDownItemCollection ViewState is corrupted.". This will help for troubleshooting and determining any bugs.
Also you can provide steps to reproduce which may determine the cause of the behavior.
Let me know if you have any questions with this matter. Thank you.
The html page has a panel and then an update panel, a grid and a few controls.
If you use server side code below in a button to close/hide the panel you'll get the drop down error.
' close panel.panelItemsSelected.Visible = False
Here is the html:
<
="False">
="server">
="-1"
>
="False"
="160px"
="0px">
="60px"
="Add Item"
/>
="Delete Line"
="menubutton"
="Delete line entry from Invoice lines."
="True"
="Invoice_Line_Total"
="GRN_Line_Total"
="Difference_Total"
This is just a follow up on the thread if you had any further questions on setting the PostBackTrigger for the UpdatePanel control. This will allow the the button that is clicked inside an UpdatePanel to perform a full postback.