Prevent drag and drop on self

3 posts, 1 answers
  1. Stan
    Stan avatar
    11 posts
    Member since:
    May 2010

    Posted 14 Apr 2011 Link to this post

    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. Answer
    Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 18 Apr 2011 Link to this post

    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
  3. DevCraft banner
  4. Stan
    Stan avatar
    11 posts
    Member since:
    May 2010

    Posted 19 Apr 2011 Link to this post

    Hi Tsvyatko
    Thanks for the sample. It works great.

Back to Top