Treeview node drag drop

5 posts, 0 answers
  1. tom
    tom avatar
    19 posts
    Member since:
    Dec 2008

    Posted 29 Dec 2008 Link to this post

    How can I drop selected text from outside source on to a treeview node?
    All I need is an (client-javascript) event trigger when some thing is drop on a treeview node.
    Currently, only a node can be dropped on another node.
    Somebody has already done this in the discussion.

    Thanks.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Dec 2008 Link to this post

    Hi Tom,

    The following code library submission shows how to drag and drop rows from RadGrid to RadTreeView. Give it a spin and let me know how it goes.
    Drag and Drop between RadGrid and RadTreeView

    Shinu

  3. tom
    tom avatar
    19 posts
    Member since:
    Dec 2008

    Posted 30 Dec 2008 Link to this post

    Thanks Shinu,
    I did see and try it.
    It uses OnClientMouseOver event. 
    I need OnClientNodeDrop event (This event does not trigger unless I select a tree node before hovering another tree node).

    Is there anyway to overwrite/force an OnClientNodeDrop event no matter if I has/hasn't selected a node before?

    Thanks.
     
  4. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Dec 2008 Link to this post

    Hi tom,

    I found one forum thread discussiing about tge "ClientNodeDrop" event with treeview, would you please go through that and let me know whether it helps.
    NodeDrop and ClientNodeDrop

    Thanks,
    Shinu.
  5. tom
    tom avatar
    19 posts
    Member since:
    Dec 2008

    Posted 02 Jan 2009 Link to this post

    Treeview does not allow me to drag something else (beside treeview node and grid) and drop on a node in the tree.
    Can you point me to a place in the treeview source code to change this behavior?

    Thanks. 
Back to Top