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.
Unfortunately, activation email could not send to your email. Please try again.

IndexOutOfRangeException in DataBound grid

Thread ID:

Created:

Updated:

Platform:

Replies:

95498 Jul 13,2010 09:58 AM Jul 15,2010 11:50 PM Windows Forms 2
loading
Tags: GridControl
Bijeshnath Ravindranath
Asked On July 13, 2010 09:58 AM

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

Bijeshnath Ravindranath
Replied On July 15, 2010 05:02 AM

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

Rajadurai C [Syncfusion]
Replied On July 15, 2010 11:50 PM

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

CONFIRMATION

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.

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.

;