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

Cancel or forbid drop before and after root element

7 Answers 71 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Alexey
Top achievements
Rank 2
Alexey asked on 19 Jun 2009, 07:58 AM
Hi guys,

How I can cancel or forbid drop before and after root element.

Thanks,
Alexey Zakharov

7 Answers, 1 is accepted

Sort by
0
Bobi
Telerik team
answered on 19 Jun 2009, 08:22 AM
Hello Alexey,

Please find attached a sample project that shows how to cancel drop before and drop after particular RadTreeView`s element.
 (In the given example you prevent dragging before/after node A).

I hope that this answers your question.

Best wishes,
Boryana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Alexey
Top achievements
Rank 2
answered on 30 Jun 2009, 06:25 PM
Thanks Boryana. That is what we need.
0
Alexey
Top achievements
Rank 2
answered on 16 Jul 2009, 10:48 AM
After Q2 release this solution no longer works. After dropping item to forbidden position it disappears!
0
Miroslav
Telerik team
answered on 16 Jul 2009, 11:04 AM
Hello Alexey,

We changed the DragDrop in the TreeView to support cross-control dragging. We did not mean to introduce the breaking change. It is a bug and it will be fixed for tomorrow's internal build and the SP.

I am sorry for the inconvenience.

Kind regards,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Miroslav
Telerik team
answered on 24 Jul 2009, 12:06 PM
Hello Alexey,

I am just writing to follow up on this issue. The problem should have been resolved with the 2009.7.20 internal build.

Regards,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Alexey
Top achievements
Rank 2
answered on 27 Jul 2009, 05:30 AM
Hi Miroslav,

I've updated to ...24 internal build. But still have the same bug. I'm using Silverlight 3 build.
0
Miroslav
Telerik team
answered on 30 Jul 2009, 05:37 PM

Hi Alexey,

I am sorry for the delayed reply.

I tried running the example from this thread with the 7.20 and 2.24 builds and the items did  not disappear on drop. Quite possibly I am missing something?

For the Service pack the DragDrop should have improved even more, adding a DropPosition property to the TreeView item and making several methods public  for better customization. But of course it would be no good if it is not working as before. Can you please give more details about the scenario you are using it in?

Kind regards,

Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TreeView
Asked by
Alexey
Top achievements
Rank 2
Answers by
Bobi
Telerik team
Alexey
Top achievements
Rank 2
Miroslav
Telerik team
Share this question
or