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

DragEnding event

5 Answers 127 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
liviu
Top achievements
Rank 1
liviu asked on 16 Aug 2007, 12:03 PM
Hi.

I have a treeview and I need to impose more restrictions on the drag and drop action. For example, if the node and the target node are at different levels I cancel the drag and drop action using the DragEnding event.

But I need more. I have to know where the node is going to be dropped onto the target node( above, below, within). The node cann't become a child node for the target node.

Can I find out this within the DragEnding event?

Thanks.

5 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 16 Aug 2007, 04:52 PM
Hi liviu,

The DragEnding event of RadTreeView does not currently provide information about the direction, however this feature will appear in our Q2 release next month. We can send you the beta version of Q2 in about 2 weeks, in case you would like to precipitate in the beta program. Simply drop us a line and we will add your name to the beta list.

 
Regards,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
liviu
Top achievements
Rank 1
answered on 17 Aug 2007, 02:33 PM
Yes, I would like to receive the beta version of Q2.

Thank you.
0
Jordan
Telerik team
answered on 20 Aug 2007, 07:28 AM
Hi liviu,

We will notify you as soon as Q2 beta bits are available.

 
Greetings,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chitra
Top achievements
Rank 1
answered on 16 Feb 2012, 02:41 AM
I was wondering how this issue was resolved.. I also need to know where the node is going to be dropped onto the target node( above, below, within).  I am using version 2011.1.11.419 and  in the DragEnding event, usage of .Direction shows as deprecated and actually does not return the desired result... An early response will be much appreciated.. (like you care to receive my appreciation?? but it would be a big help on my end!!)
0
Boryana
Telerik team
answered on 20 Feb 2012, 09:50 AM
Hello Chitra,

Thank you for writing.

Unfortunately, the version of Winforms controls you are using does not provide information about the precise drop position. In all newer versions you will be able to find a DropPosition property of the DragEnding EventArgs. I highly recommend using our latest version, since it contains a number of improvements and new features.

Let me know if you have further questions.

Greetings,
Boryana
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Treeview
Asked by
liviu
Top achievements
Rank 1
Answers by
Jordan
Telerik team
liviu
Top achievements
Rank 1
Chitra
Top achievements
Rank 1
Boryana
Telerik team
Share this question
or