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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Scroll exception

Thread ID:





9231 Dec 11,2003 06:12 AM UTC Dec 11,2003 09:00 AM UTC WinForms 1
Tags: GridControl
Asked On December 11, 2003 06:12 AM UTC

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?

Administrator [Syncfusion]
Replied On December 11, 2003 09:00 AM UTC

What version are you using? There are some known scrolling exceptions in 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.


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

Live Chat Icon For mobile
Live Chat Icon