Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1405
Index was outside the bounds of the array
posted

Hi,

 

I have a webhierarchicaldatagrid with InitialDataBindDepth = 2, and I uses RefreshBehaviors() and bind the grid again to the datasource. If I do that multiple times I get this error:

 

[IndexOutOfRangeException: Index was outside the bounds of the array.]
Infragistics.Web.UI.GridControls.EditableBehaviorBase.LoadClientObjects(Object[] objects) +50
Infragistics.Web.UI.GridControls.Filtering.LoadClientObjects(Object[] objects) +47
Infragistics.Web.UI.Framework.ObjectBase.LoadClientState(Object[] oData) +202
Infragistics.Web.UI.Framework.ObjectBase.Infragistics.Web.UI.IClientState.LoadClientState(Object[] oData) +39
Infragistics.Web.UI.GridControls.GridBot.LoadClientCollections(Object[] collections) +375
Infragistics.Web.UI.Framework.RunBot.LoadClientData() +86
Infragistics.Web.UI.Framework.RunBot.HandleLoadPostData(String postDataKey, NameValueCollection postCollection) +41
Infragistics.Web.UI.GridControls.GridBot.HandleLoadPostData(String postDataKey, NameValueCollection postCollection) +82
Infragistics.Web.UI.GridControls.ContainerGrid.LoadPostData(String postDataKey, NameValueCollection postCollection) +98
Infragistics.Web.UI.GridControls.ContainerGrid.LoadPostData(String postDataKey, NameValueCollection postCollection) +273
Infragistics.Web.UI.GridControls.ContainerGrid.LoadPostData(String postDataKey, NameValueCollection postCollection) +273
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +1121
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2913

How can I know what is the actual cause of the error and how to resolve that.

Thanks,
Megha

Parents Reply Children