This is a migrated thread and some comments may be shown as answers.

RadScrollBar crash when TreeView is too short

3 Answers 43 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
immitev
Top achievements
Rank 1
immitev asked on 20 Jan 2009, 01:27 PM
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?

3 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 20 Jan 2009, 02:38 PM
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.
0
immitev
Top achievements
Rank 1
answered on 20 Jan 2009, 04:24 PM
Currently I have difficulty reproducing it, but it surely happens from time to time.
0
Victor
Telerik team
answered on 21 Jan 2009, 10:49 AM
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.
Tags
Treeview
Asked by
immitev
Top achievements
Rank 1
Answers by
Victor
Telerik team
immitev
Top achievements
Rank 1
Share this question
or