Cancel or forbid drop before and after root element

8 posts, 0 answers
  1. Alexey
    Alexey avatar
    79 posts
    Member since:
    Oct 2008

    Posted 19 Jun 2009 Link to this post

    Hi guys,

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

    Thanks,
    Alexey Zakharov
  2. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 19 Jun 2009 Link to this post

    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.
  3. DevCraft banner
  4. Alexey
    Alexey avatar
    79 posts
    Member since:
    Oct 2008

    Posted 30 Jun 2009 Link to this post

    Thanks Boryana. That is what we need.
  5. Alexey
    Alexey avatar
    79 posts
    Member since:
    Oct 2008

    Posted 16 Jul 2009 Link to this post

    After Q2 release this solution no longer works. After dropping item to forbidden position it disappears!
  6. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 16 Jul 2009 Link to this post

    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.
  7. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 24 Jul 2009 Link to this post

    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.
  8. Alexey
    Alexey avatar
    79 posts
    Member since:
    Oct 2008

    Posted 27 Jul 2009 Link to this post

    Hi Miroslav,

    I've updated to ...24 internal build. But still have the same bug. I'm using Silverlight 3 build.
  9. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 30 Jul 2009 Link to this post

    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.
Back to Top
DevCraft banner