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

Horizontal Scroller Not Calculating Max Value Correctly

Thread ID:

Created:

Updated:

Platform:

Replies:

16849 Jul 26,2004 06:06 AM Aug 11,2005 08:09 AM Windows Forms 4
loading
Tags: Grouping
Administrator [Syncfusion]
Asked On July 26, 2004 06:06 AM

Hi I have a grouping grid which does not seem to be calculating the max horiz scoller value correctly. If I scroll to the right so that al cols have been scrolled, there it still a bitleft in the scroller and clicking it again gives me an exception. Any suggestions, please??? Exception = ''1291'' is not a valid value for ''value''. ''value'' should be between ''minimum'' and ''maximum''. StackTrace : at System.Windows.Forms.ScrollBar.set_Value(Int32 value) at System.Windows.Forms.ScrollBar.WmReflectScroll(Message& m) at System.Windows.Forms.ScrollBar.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) -----------------------------------------------------------------------

Administrator [Syncfusion]
Replied On July 26, 2004 06:55 AM

Hi Jason, that''s tough to give suggestion without a sample. I will need to debug into it... The exception itsself does not ring any bells what might be wrong. Is it possible to create a sample that shows the problem? Thanks, Stefan

Administrator [Syncfusion]
Replied On July 26, 2004 09:57 AM

Hi Stefan, please find attached my sample applications. Run the application and then narrow the width of the form so that not all of the visible columns are shown. If you scroll to the right using the scroll bar and keep clicking you''ll get the exception Jason Test Grouping Grid1_6922.zip

Administrator [Syncfusion]
Replied On July 28, 2004 02:55 PM

Hi Jason, I think this was only a problem with the private builds. Jay could see it but it seemed fine on my machine with latest code. Jay will send you dl instructions for latest code and then let me know if you still see it. Stefan

Sunil
Replied On August 11, 2005 08:09 AM

>Hi I have a grouping grid which does not seem to be calculating the max horiz scoller value correctly. > >If I scroll to the right so that al cols have been scrolled, there it still a bitleft in the scroller and clicking it again gives me an exception. > >Any suggestions, please??? > >Exception = ''1291'' is not a valid value for ''value''. ''value'' should be between ''minimum'' and ''maximum''. >StackTrace : > at System.Windows.Forms.ScrollBar.set_Value(Int32 value) > at System.Windows.Forms.ScrollBar.WmReflectScroll(Message& m) > at System.Windows.Forms.ScrollBar.WndProc(Message& m) > at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) > at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) >----------------------------------------------------------------------- > >

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

;