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

Prevent auto expand of treenode during drag/drop

1 Answer 60 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Sunandini
Top achievements
Rank 1
Sunandini asked on 04 Dec 2009, 11:01 PM
Hi,

Our application has a Telerik Tree and Grid. We allow drag and drop between the Tree and Grid and within the tree. When we drag and drop into the tree and node over which it moves gets auto expanded. How can we prevent this?

We saw a solution for a similar problem on the ASP .NET forum.
http://www.telerik.com/community/forums/aspnet-ajax/treeview/prevent-auto-expand-of-nodes-during-drag-and-drop.aspx


Is there one for WPF?

Thanks,
-Sunandini

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 08 Dec 2009, 10:03 AM
Hi Sunandini,

You can use RadTreeView's DropExpandDelay property and set to some large quantity.

treeview.DropExpandDelay = TimeSpan.FromMinutes(60);

Please have a look at this forum thread. Also, I have attached my sample project for further reference. Let me know if this is of any help.


Kind regards,
Kiril Stanoev
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.
Tags
TreeView
Asked by
Sunandini
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or