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. Image for the cookie policy date
close icon

System.ArgumentException: Value does not fall within the expected range.

Hi,

I''m having this error and can''t find a solution (view image for full information).

Thank !

grid_error.zip

2 Replies

AD Administrator Syncfusion Team September 2, 2006 11:21 PM UTC

Are you using multipple threads?

This is likely some kind of threading issue. You can only interact with the grid on the thread that created it. In your code, you can do grid.InvokeRequired checks to see if you need to call grid.Invoke to make sure the call into the grid is being done on the proper thread. Here is a kb article on this. http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=78


AD Administrator Syncfusion Team September 5, 2006 03:31 PM UTC

You are right, it was fixed with

Private Delegate Sub SingleFunc()

_gridcontrol.Invoke(New SingleFunc(AddressOf _gridcontrol.EndUpdate))

Thank !

Loader.
Live Chat Icon For mobile
Up arrow icon