I want to allow duplicate entries in RadTreeView

2 posts, 0 answers
  1. Scott
    Scott avatar
    7 posts
    Member since:
    May 2011

    Posted 13 Jul 2011 Link to this post

    Is there a setting which will allow me to place duplicate entries into a RadTreeView?  I am dragging from a GridView into a TreeView, and sometimes I need to allow the user to place the same object more than once.  I need to create the following tree:

    Bird
    --Cardinal
    --Cardinal
    --BlueJay
    --BlueJay

    I also see the following issue.  When I have this tree:

    --Bird

    I can drop Cardinal to get:

    --Bird
    --Cardinal

    If I Try to add another Cardinal, I need to "Drop After" Bird, because I can't "Drop Before" or "Drop After" Cardinal, since it has the same object properties, I get the DropImpossible icon everywhere overtop of Cardinal.  This is a problem because everyone wants to drop at the end of the list, which is considered over Cardinal.

    Finally, if I create a tree with duplicate entries anyway, the tree gets re-ordered, and the selected items act very strangely also.

    I will try to create:

    --Bird
    ----Cardinal
    ----BlueJay
    ----Cardinal

    and when I drag and drop them in that order, it will be re-ordered to:

    --Bird
    ----Cardinal
    ----Cardinal
    ----BlueJay

    If I select the Child item Cardinal, it might select the other Cardinal item instead.

    Thanks for your help,
    Scott
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 18 Jul 2011 Link to this post

    Hi Scott,

    Currently we are aware of the selection issue that occurs when equal objects are created in the RadTreeView. You can track its status here. We will be working on RadTreeView`s issues during Q3 but we cannot provide an estimated time when this will be resolved.
    On the other hand, custom Drag And Drop behavior could be achieved with RadDragAndDropManager and its events. You can examine its documentation here and check out the demos here.

    Best wishes,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top