We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

IndexOutOfRangeException in DataBound grid

Hi
We are using version 4.4 of Syncfusion. We have a screen with a DataBoundGrid. Occasionally we are getting these exceptions while the user is editing:
2010-07-12 16:11:20,011 ERROR [4360] (ExceptionManager:0) - Index 4 is either negative or above rows count.
System.IndexOutOfRangeException: Index 4 is either negative or above rows count.
at Syncfusion.Windows.Forms.Grid.GridCurrentCell.EndEdit()
at Syncfusion.Windows.Forms.Grid.GridDataBoundGrid.OnValidating(CancelEventArgs e)
at System.Windows.Forms.Control.NotifyValidating()
at System.Windows.Forms.Control.PerformControlValidation(Boolean bulkValidation)
at System.Windows.Forms.ContainerControl.ValidateThroughAncestor(Control ancestorControl, Boolean preventFocusChangeOnError)
at System.Windows.Forms.ContainerControl.EnterValidation(Control enterControl)
at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
at System.Windows.Forms.ContainerControl.AssignActiveControlInternal(Control value)
at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control)
at System.Windows.Forms.Control.WmSetFocus(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)
at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

We are not able to find out the cause as it does not seem to be happening inside our code. Can you tell me if this is any known issue? This works fine almost all of the time (and has been in place for a long time). But occasionally some users are getting this error and hence we would like to know if this is a known issue and if there is any fix/workaround etc.
thanks and regards
Bijesh

2 Replies

BR Bijeshnath Ravindranath July 15, 2010 09:02 AM UTC

Hi Can I have some update on this please. I have reaised a directrac incident also: no: 70026
Bijesh


RC Rajadurai C Syncfusion Team July 16, 2010 03:50 AM UTC

Hi Bijesh,

We regret for the inconvenience caused with the delay.

Please followup with the Direct Trac incident (#70026) regarding this query.

Thank you for using Syncfusion Products.

Regards,
Rajadurai

Loader.
Live Chat Icon For mobile
Up arrow icon