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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

IndexOutOfRangeException in DataBound grid

Thread ID:





95498 Jul 13,2010 01:58 PM UTC Jul 16,2010 03:50 AM UTC WinForms 2
Tags: GridControl
Bijeshnath Ravindranath
Asked On July 13, 2010 01:58 PM UTC

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

Bijeshnath Ravindranath
Replied On 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

Rajadurai C [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon