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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Scroll exception

Thread ID:

Created:

Updated:

Platform:

Replies:

9231 Dec 11,2003 06:12 AM UTC Dec 11,2003 09:00 AM UTC WinForms 1
loading
Tags: GridControl
Jimmy
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 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.

CONFIRMATION

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.

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

;