Using an Object-Relational hierarchy with two levels, I keep getting random crashes in the grid related to index out of bound or removing an item that is not in a collection when calling BindingList<T>.ResetItem. I have already opened a support ticket, but Telerik Support could not recreate the problem, hence no real help was provided.
It is hard to recreate the problem, but I would think with the detailed stack trace of the crashes, it should help point out where in the code it happens and add appropriate error handling.
Below is the stack trace of one of many crashes I have been getting, please let me know if you have seen similar problem before, or have any hints to get around this issue.
Thanks,
Andy
It is hard to recreate the problem, but I would think with the detailed stack trace of the crashes, it should help point out where in the code it happens and add appropriate error handling.
Below is the stack trace of one of many crashes I have been getting, please let me know if you have seen similar problem before, or have any hints to get around this issue.
System.ArgumentException: Cannot remove the specified item because it was not found
in
the specified Collection.
at System.Collections.CollectionBase.System.Collections.IList.Remove(Object value)
at Telerik.WinControls.RadElementCollection.Remove(RadElement value)
at Telerik.WinControls.UI.GroupPanelElement.UpdateView()
at Telerik.WinControls.UI.GroupPanelElement.ProcessEvent(GridViewEvent eventData)
at Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessCollection(GridViewEvent gridEvent, PriorityWeakReferenceList list, GridEventProcessMode processMode)
at Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessEvent(GridViewEvent gridEvent)
at Telerik.WinControls.UI.GridViewSynchronizationService.NotifyListeners(GridViewEvent gridEvent)
at Telerik.WinControls.UI.GridViewSynchronizationService.OnPostCallback(Object state)
Thanks,
Andy