[Mono-list] error on viewstate

Lorenzo Viola info at eulogika.net
Thu Sep 20 01:39:49 EDT 2007


Hello, I also get the same error....

hoping for a fix...

which is the right place to post this bug ?

best regards

> 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.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>   



More information about the Mono-list mailing list