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

Value does not fall within the expected range

Thread ID:





57871 Mar 13,2007 11:46 AM UTC Mar 13,2007 02:47 PM UTC WinForms 1
Tags: GridControl
Sathish Chandran
Asked On March 13, 2007 11:46 AM UTC


I'm getting this error, I could not trace why this error is happening. Can you please suggest me, why this error is happening?


Value does not fall within the expected range.
at Syncfusion.Windows.Forms.Grid.GridRangeInfo..ctor(Int32 top, Int32 left, Int32 bottom, Int32 right)
at Syncfusion.Windows.Forms.Grid.GridRangeInfo.InternalCells(Int32 top, Int32 left, Int32 bottom, Int32 right)
at Syncfusion.Windows.Forms.Grid.GridModelFloatingCells.EvaluateFloatingCells(GridControlBase pGrid, GridRangeInfo range, Int32 nfr, Int32 nfc, Int32 nTopRow, Int32 nLeftCol, Int32 nLastRow, Int32 nLastCol, GridRangeInfo& prgBoundary)
at Syncfusion.Windows.Forms.Grid.GridControlBase.EvaluateVisibleFloatingCells(GridRangeInfo range)
at Syncfusion.Windows.Forms.Grid.GridControlBase.OnBeforePaint(EventArgs e)
at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Thanks & Regards,

Administrator [Syncfusion]
Replied On March 13, 2007 02:47 PM UTC

Hi Sathish,

The error which you have mentioned, is an indication of threading issues. Are there multiple threads involved in your appilcation? If so, please check the Knowledge Base(KB) article link below.

Intermittant errors can be indications of threading issues. Any calls into the grid must be done on the thread that creates it, and you can use grid.InvokeRequired to check for this.
Here is a sample.

Best Regards,


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