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
115
Index out of range Exception leaving cell
posted

We are using Infragistics4.Win.UltraWinGrid.V23.1

sometimes we are getting an exception:

bei System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
bei System.Collections.ObjectModel.Collection`1.RemoveAt(Int32 index)
bei Infragistics.Win.UltraWinGrid.UltraGridRow.DeleteHelper()
bei Infragistics.Win.UltraWinGrid.UltraGridRow.CancelEdit()
bei Infragistics.Win.UltraWinGrid.UltraGrid.OnActiveRowCleared(Boolean update)
bei Infragistics.Win.UltraWinGrid.UltraGridBase.SetActiveRow(UltraGridRow row, Boolean scrollIntoView)
bei Infragistics.Win.ControlUIElementBase.ProcessClick(Object sender, EventArgs e)
bei Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
bei Infragistics.Win.UltraControlBase.OnClick(EventArgs e)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I have no real clue how to fix it. Maybe we are using an event wrong or it takes too long is my idea. Can you help me?

Parents
No Data
Reply
  • 34810
    Offline posted

    Hello Arndt,

    My team and I have done an initial review of this support case, and it is difficult to say exactly why this issue is happening from just the stack trace in this case. From the stack trace, it looks like the exception occurred as a result of removing the active row of the UltraGrid, but this should not cause an exception.

    Do you have more information regarding your scenario or an isolated sample project that demonstrates the behavior you are seeing? If so, can you please provide that here?

    Please let me know if you have any other questions or concerns on this matter.

Children