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?
ADAdministrator Syncfusion Team December 11, 2003 04:00 AM
What version are you using? There are some known scrolling exceptions in 18.104.22.168 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.