Drag and Drop Between Nodes From RadListBox?

4 posts, 0 answers
  1. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 17 Mar 2013 Link to this post

    I have a RadListBox where I want to drag items into a RadTreeView.  I've enabled drag and drop between nodes, and it works for the nodes within the tree view, but when I drag an element from the list box to the tree view, I don't seem to have the opportunity to drop between nodes.

    Interestingly, the event handler on the list box does tell me if it's above or below, but (1) I don't get the dotted line, and (2) I'm not certain it's accurate.

    Is this scenario supported?

    Thank you.
  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 19 Mar 2013 Link to this post

    Hello Barry,

    We have a demo that demonstrates this scenario exactly. I suggest that you take a look at it -> Drag and Drop Between RadListBox and RadTreeView


    Greetings,
    Genady Sergeev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 19 Mar 2013 Link to this post

    Hello.  Thank you, but...

    I didn't emphasize it, but the problem is that I can't drag from the listview and drop between nodes on the treeview.  The demo doesn't do that, either.  Is it possible?

    Thanks.
  5. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 22 Mar 2013 Link to this post

    Hello Barry,

    It is not possible to drop between the nodes as this is a design limitation. In order to do that we will need to change the drop and down behavior of RadTreeView, which may lead to breaking changes.

    All the best,
    Genady Sergeev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top