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

I get an exception : Value does not fall within the expected range

Thread ID:





47667 Aug 9,2006 10:26 PM UTC Aug 10,2006 06:07 AM UTC WinForms 1
Tags: GridControl
Asked On August 9, 2006 10:26 PM UTC


I get an exception : "Value does not fall within the expected range ":

syncfusion.windows.forms.Grid.GrifRangeInfo.Ctor(Int32 top,Int32 left, Int32 bottom,Int32 right)
at syncfusion.windows.Forms.Grid.GridRangInfo.Internalcells(Int32 top,Int32 left,Int32 bottom,Int32 right) at syncfusion.Windows.Forms.Grid.GridViewLayout.Initialize()
at syncfusion.windows.Forms.Grid.GridViewLayout.DemandInitialize()()
at syncfusion.windows.Forms.Grid.GridViewLayout.PointToClientCol(Point pt,Boolean fixBackHidden,GridCellSizeKind sizekind)
at syncfusion.windows.Forms.Grid.GridViewLayout.PointToRangeInfo(Point point,Int32 fixOutOfRange)
at syncfusion.windows.Forms.Grid.GridViewLayout.RectangleToRangeInfo(Rectangle rect,Int32 fixoutofrange)
at syncfusion.windows.Forms.Grid.GridControlBase.OnBeforePaint(EventArgs e)
syncfusion.windows.Forms.Grid.GridControlBase.WndProc(Message& msg)

I would like to know what that error means,



Administrator [Syncfusion]
Replied On August 10, 2006 06:07 AM UTC

Hi Selly,

Are you referring to another thread when you say you are updating your grid by another process? If so, then you must make sure you only interact with the grid on the thread that created it. Normally, you would do this by placing grid.InvokeRequired checks around any of your code that accesses grid methods.

Here is a kb link with more information on this.

Let us know if you need more information on this 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