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

Detail listviews

2 Answers 110 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 25 Oct 2016, 07:17 PM

How do I go about draging and dropping between to details listviews that are visiually full /need to scroll ?  

 

If there is room in the list I can drop from 1 list to the one with the space but if they are full I can't.

2 Answers, 1 is accepted

Sort by
0
Jeff
Top achievements
Rank 1
answered on 25 Oct 2016, 07:18 PM
example full lists.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Oct 2016, 05:46 AM
Hello Jeff,

Thank you for writing.  

RadListView handles the whole drag and operation by its RadDragDropService. The PreviewDragOver event allows you to control on what targets the cell/item being dragged can be dropped on. The PreviewDragDrop event allows you to get a handle on all the aspects of the drag and drop operation, the source (drag) control, the destination (target) control, as well as the cell/item being dragged. This is where we will initiate the actual physical move of the cell/item(s) from one listview to the target control. 

The following help article demonstrates a approach how to customize the drag and drop service and achieve dragging items in DetailsView from one RadListView to a target control which can be another RadListView as well. Feel free to modify it in a way which suits your requirement best: http://docs.telerik.com/devtools/winforms/listview/drag-and-drop/drag-and-drop-using-raddragdropservice 
 
I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
ListView
Asked by
Jeff
Top achievements
Rank 1
Answers by
Jeff
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or