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

Drag and Drop from RadListView to RadListView C# Winforms

3 Answers 202 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 15 May 2016, 10:28 PM
I am trying to setup drag and drop from a radlistview to another radlistview. I want to only copy certain data items from one to the other. Is there any example of this. example: radlistview1 may contain song titles and radlistview2 may contain a person. I want to drop a song title onto the name of the person and update that radlistview2 with the song title information.

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 18 May 2016, 10:37 AM
Hi Thomas,

Thank you for writing.

There is na example for drag an drop in bound mode, it only shows how you can drag an drop within the same RadListView, however the appraoch there can be easiliy adopted for your scenario:  Drag and Drop in bound mode.

Do not hesitate to contact us if you have other questions.
 
Regards,
Dimitar
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Jeff
Top achievements
Rank 1
answered on 25 Oct 2016, 08:06 PM
[quote]Dimitar said:Hi Thomas,

Thank you for writing.

There is na example for drag an drop in bound mode, it only shows how you can drag an drop within the same RadListView, however the appraoch there can be easiliy adopted for your scenario:  Drag and Drop in bound mode.

Do not hesitate to contact us if you have other questions.
 
Regards,
Dimitar
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.

[/quote]

 

Do you have an example code of unboud listsview and in detail mode?

0
Dimitar
Telerik team
answered on 26 Oct 2016, 10:35 AM
Hello Jeff,

When the ListView is in unbound mode you can perform a drag and drop operation out of the box, however in the same control (reorder the items). When you need to perform drag and drop between two controls you can use the DragDropService. An example is available here: Drag and Drop using RadDragDropService.

Do not hesitate to contact us if you have other questions.
 
Regards,
Dimitar
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
Thomas
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Jeff
Top achievements
Rank 1
Share this question
or