[Mono-list] error on viewstate
Daniel Soto
daniel.soto2k at gmail.com
Wed Sep 19 22:52:42 EDT 2007
Hi All.
Sorry for boring :-)
I have a problem. In an aspx page, when i click on a button which
perform an action, but remains in the same page (for example, in a
validation on the server that not pass the test, then appears an message
in the validationsummary), and after, click the button a second time, an
error occurs
//Index is less than 0 or more than or equal to the list count.
Parameter name: index 1//
Here is the complete stacktrace
System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count.
Parameter name: index
1
at System.Collections.ArrayList.get_Item (Int32 index) [0x00000]
at System.Web.UI.WebControls.ListItemCollection.get_Item (Int32 index) [0x00000]
at System.Web.UI.WebControls.ListControl.LoadViewState (System.Object savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
at System.Web.UI.Page.LoadPageViewState () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
Someone to know about this? How can i to fix this?
Thanks.
Best regards.
More information about the Mono-list
mailing list