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

System.ArgumentException: Offset and length were out of bounds

Thread ID:





77748 Nov 14,2008 04:40 PM UTC Nov 18,2008 12:15 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On November 14, 2008 04:40 PM UTC

We are getting the following exception. Can you throw some light into this! It is basically happening when we try to load data after adding / modifying filter for an existing query. Any help would be greatly appreciated.

- * -

Exception is:
System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
at System.Array.BinarySearch[T](T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
at Syncfusion.Windows.Forms.Grid.GridViewLayout.SearchHighestValue(Int32[] offset, Int32 length, Int32 max)
at Syncfusion.Windows.Forms.Grid.GridViewLayout.PointToClientRow(Point pt, Boolean fixBackHidden, GridCellSizeKind sizeKind)
at Syncfusion.Windows.Forms.Grid.GridControlBase.PointToRangeInfo(Point point, Int32 fixOutOfRange)
at Syncfusion.Windows.Forms.Grid.GridControlBase.PointToRowCol(Point point, Int32& rowIndex, Int32& colIndex, Int32 fixOutOfRange)
at Syncfusion.Windows.Forms.Grid.GridControlBase.PointToRowCol(Point point, Int32& rowIndex, Int32& colIndex)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.OnCellTipsMouseMove(MouseEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(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 Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.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)

- * -

Attached in an image of the exception message.

Thanks in advance.


Nisha Arockiya A [Syncfusion]
Replied On November 18, 2008 12:15 PM UTC

Hi Lim,

Thanks for your interest in Syncfusion Products.

Are you usnig any tooltip to popup on the grid??

The exception like this occurs when you are using some tooltip to popup on the Grid and it fails due to some disability of selecting the range.
There no such property to disable such tooltip behaviour.
The Tooltip might be enabled with the help of QueryCellStyleInfo event. You can cancel the event if the tooltip pops up to disable it.

Please let us know if you could solve the issue.



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

This page will automatically be redirected to the 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