RadScrollBar crash when TreeView is too short

4 posts, 0 answers
  1. immitev
    immitev avatar
    9 posts
    Member since:
    Nov 2006

    Posted 20 Jan 2009 Link to this post

    Top-level Exception
    Type:        System.ArgumentOutOfRangeException
    Message:     Value of '1' is not valid for 'Value'. 'Value' must be between 'Minimum' and 'Maximum'.
    Parameter name: Value
    Source:      Telerik.WinControls.UI
    Stack Trace: at Telerik.WinControls.UI.RadScrollBarElement.set_Value(Int32 value)
       at Telerik.WinControls.UI.RadScrollBar.set_Value(Int32 value)
       at Telerik.WinControls.UI.RadTreeView.ScrollBy(Int32 delta)
       at Telerik.WinControls.UI.RadTreeView.OnMouseWheel(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseWheel(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at Telerik.WinControls.RadControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    The issue had been encountered both in 8.0.0.0 and 8.1.0.0 versions

    It occurs when the TreeView is very short...

    Any suggestions for workarounds?
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 20 Jan 2009 Link to this post

    Hi immitev,

    I could not reproduce the issue. Could you please send us sample code or even better a sample project. You have to open a new support ticket so that you can attach files. I am looking forward to your reply. Also do not hesitate to write me back if you have more questions.

    Regards,
    Victor
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. immitev
    immitev avatar
    9 posts
    Member since:
    Nov 2006

    Posted 20 Jan 2009 Link to this post

    Currently I have difficulty reproducing it, but it surely happens from time to time.
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 21 Jan 2009 Link to this post

    Hello immitev,

    Thank you for your feedback. If you manage to reproduce the problem we will investigate the issue immediately. In order to send us attachments you have to open a support ticket.

    Write back if you have further questions.

    All the best,
    Victor
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top