Issue with DragandDrop between nodes in grid edit form template

8 posts, 1 answers
  1. Peter
    Peter avatar
    5 posts
    Member since:
    Mar 2008

    Posted 28 Sep 2009 Link to this post

    I have a grid with an edit form template.  I can not get the draganddrop between nodes to work.  To reproduct just create a grid and put an edit button when the edit form pops up... you will not be able to drag and drop between nodes.  And yes i enabled the settings

    EnableDragAndDrop

     

    ="true"

     

    EnableDragAndDropBetweenNodes="true"

     

    Please help.

  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 28 Sep 2009 Link to this post

    This code library submission could help you out. It shows how to enable a two-way drag-and-drop between RadTreeView and RadGrid.
  3. Peter
    Peter avatar
    5 posts
    Member since:
    Mar 2008

    Posted 28 Sep 2009 Link to this post

    I did more research.. Looks like the functionality actually works.. Just there is no dotted line that shows you are between the nodes.  I am not using and custom styles.  I am using the ones that come with telerik controls.  Can someone at telerik please look into this UI bug?

    Thanks
  4. Peter
    Peter avatar
    5 posts
    Member since:
    Mar 2008

    Posted 02 Feb 2010 Link to this post

    Telerik?  Any help here with the lines where you drop the node not showing up with a treeview on a grid edit form.  My clients have no idea where they are dropping the node without those drop lines...
  5. Joshua Holt
    Joshua Holt avatar
    23 posts
    Member since:
    Jan 2010

    Posted 02 Feb 2010 Link to this post

    Hi Peter,
    I created a TreeView in a Grid FormTemplate, and I do get the horizontal bar showing when I am between nodes (See Attached Image).  Is this what you are trying to achieve?  Also, were you able to get the drag and drop to work correctly, leaving the horizontal dotted line as the only issue?
    What version of the controls are you using currently?

    Thank you,
    Joshua Holt
  6. Peter
    Peter avatar
    5 posts
    Member since:
    Mar 2008

    Posted 02 Feb 2010 Link to this post

    Sorry forgot to add... it is a grid edit FormTemplate popup edit form.  Everything else works just perfect except for the lines not showing on the popup edit form.
  7. Answer
    Joshua Holt
    Joshua Holt avatar
    23 posts
    Member since:
    Jan 2010

    Posted 03 Feb 2010 Link to this post

    Hi Peter,
    I am very sorry for any inconvenience this has caused you and your clients.  I was able to reproduce the issue, and have found a solution for you.  In your style sheet put these styles:
    .rtDropAbove 
        z-index:99999; 
    .rtDropBelow 
        z-index:99999; 

    And you will get the horizontal line when between nodes.  I have tested this in IE 7/8, Chrome, and firefox 3.5.7.  Please let me know if you have any more issues.

    Hope this helps you!
    Joshua Holt 
  8. Peter
    Peter avatar
    5 posts
    Member since:
    Mar 2008

    Posted 03 Feb 2010 Link to this post

    Joshua - That worked perfect.  Thank you. 
Back to Top