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

Drag/drop crashes when tree is in styled ScrollViewer

2 Answers 62 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
hwsoderlund
Top achievements
Rank 1
hwsoderlund asked on 03 Nov 2009, 01:54 PM
I am using a custom style for the scrollviewer/scrollbar components, and inside one of these I have put a treeview with drag/drop enabled. This has always worked fine. But now I have tried upgrading to the Beta2_2009_3_1023 version of RadControls. Now when I try to drag a tree item to another, the whole thing crashes. This seems to have to do with my custom style, as it works just fine when I just use the default scrollviewer. Please take a look and see if it can be fixed. For now I will use the default scrollviewer style for the trees wheere I need drag/drop.

Sample project:
http://tinyurl.com/yazau4b

Best regards,
/Henrik

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 06 Nov 2009, 01:53 PM
Hi hwsoderlund,

The problem was in the property  HorizontalScrollBarVisibility in the ScrollViewer's style.Its default value is Auto.Please find attached a smaple project.

If you have any further question please do not hesitate to ask.

I hope this will help you.

Kind regards,

Dimitrina
the Telerik team

 


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
hwsoderlund
Top achievements
Rank 1
answered on 06 Nov 2009, 03:33 PM
Yes, that fixed the problem. Thanks!
Tags
TreeView
Asked by
hwsoderlund
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
hwsoderlund
Top achievements
Rank 1
Share this question
or