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

Scroll exception

When updating the grid (the call causing the exception is setting the text of a cell) an argument exception(" '3' is not a valid value for 'value'. 'value' should be between 'minimum' and 'maximum'.") is thrown in the System.Windows.Forms.ScrollBar.set_Value which is called by the Syncfusion.Windows.Forms.ReflectScrollBar.set_Value (the complete stacktrace is attached as an image) After this exception is caught, the grid losses some of its scrolling and our grid is somewhat useless. Cannot seem to produce a small-time example that reliably produces the example, but hope that the stacktrace might help you guys fix this bug. Could the bug potentially be avoided by strategically placed startUpdate() and endUpdate() calls?

1 Reply

AD Administrator Syncfusion Team December 11, 2003 04:00 AM

What version are you using? There are some known scrolling exceptions in 2.0.1.0 beta that should be addressed in the next beta release. Are you using multiple threads? If so, any access into the grid should be protected by grid.InvokeRequired checks to make sure you only interact with the grid on the thread that created it. Not doin this can cause hard to reproduce UI problems. I''ll ask around if other people have any ideas on this probelm.

Loader.
Live Chat Icon For mobile
Up arrow icon