This is a migrated thread and some comments may be shown as answers.

Issue with DragandDrop between nodes in grid edit form template

7 Answers 149 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 28 Sep 2009, 05:54 PM
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.

7 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 28 Sep 2009, 08:19 PM
This code library submission could help you out. It shows how to enable a two-way drag-and-drop between RadTreeView and RadGrid.
0
Peter
Top achievements
Rank 1
answered on 28 Sep 2009, 09:02 PM
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
0
Peter
Top achievements
Rank 1
answered on 02 Feb 2010, 08:54 PM
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...
0
Joshua Holt
Top achievements
Rank 2
answered on 02 Feb 2010, 11:53 PM
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
0
Peter
Top achievements
Rank 1
answered on 03 Feb 2010, 01:45 AM
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.
0
Accepted
Joshua Holt
Top achievements
Rank 2
answered on 03 Feb 2010, 03:54 PM
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 
0
Peter
Top achievements
Rank 1
answered on 03 Feb 2010, 04:22 PM
Joshua - That worked perfect.  Thank you. 
Tags
TreeView
Asked by
Peter
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Peter
Top achievements
Rank 1
Joshua Holt
Top achievements
Rank 2
Share this question
or