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

Disable auto-expand on drag-drop

4 Answers 123 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
GEB
Top achievements
Rank 1
GEB asked on 31 Oct 2009, 02:01 AM
I am using the DragAndDrop feature of the RadTreeView.  When I drag a RadTreeItem, the tree auto-expands as I drag over other RadTreeItems that have children.  Is there any way to turn off this auto-expand feature during a drag operation?

4 Answers, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 02 Nov 2009, 09:22 AM
Hi GEB,

Unfortunately in the Q2 version (2009.2 812) this behavior cannot be changed. In later internal builds and in the coming Q3 release, you can set the DropExpandDelay property to a TimeSpan of your choice, for example a large TimeSpan that will make sure that expanding does not happen.

Greetings,
Miroslav
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
GEB
Top achievements
Rank 1
answered on 02 Nov 2009, 02:11 PM
The Q3 release will be perfect timing.  Thanks for putting in this new capability.
0
xxx yyy
Top achievements
Rank 1
answered on 12 Nov 2009, 02:03 AM
Hi, Miroslav  of the Telerik team:

Where is the new property DropExpandDelay for RadTreeView in the Q3 release?

You mentioned that a new property  DropExpandDelay  is to be added in Q3 release to allow us to disable/delay unwanted node expand when dragging over.  I just installed the Q3 release, but am unable to find this property. 

Could you please help with this?

Thanks


0
Miroslav
Telerik team
answered on 13 Nov 2009, 04:43 PM
Hi xxx yyy,

Can you confirm that the references in your projects have been updated?

The assembly version should be 2009.3.1103

I can confirm that the DropExpandDelay property exists and can be set in code like so:

treeview.DropExpandDelay = TimeSpan.FromMinutes(60);

Hopefully this will work for you,

Kind regards,
Miroslav
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
GEB
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
GEB
Top achievements
Rank 1
xxx yyy
Top achievements
Rank 1
Share this question
or