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

Prevent drag and drop on self

2 Answers 30 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Stan
Top achievements
Rank 1
Stan asked on 14 Apr 2011, 09:52 PM
Hi there
I have a RadTreeListView that is allowing drops from a RadTreeView.. and everything works as expected. However, I want to prevent the user from being able to move items within the same RadTreeListView. How can I accomplish this?

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Accepted
Tsvyatko
Telerik team
answered on 18 Apr 2011, 09:06 AM
Hello Stan,

 You can achieve this by using OnDropQuery event. Please check the attached project for reference.

Regards,
Tsvyatko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Stan
Top achievements
Rank 1
answered on 19 Apr 2011, 05:51 PM
Hi Tsvyatko
Thanks for the sample. It works great.

Tags
DragAndDrop
Asked by
Stan
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Stan
Top achievements
Rank 1
Share this question
or