Drag and Drop from RadListView to RadListView C# Winforms

4 posts, 0 answers
  1. Thomas
    Thomas avatar
    1 posts
    Member since:
    May 2016

    Posted 15 May Link to this post

    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.
  2. Dimitar
    Admin
    Dimitar avatar
    1414 posts

    Posted 18 May Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jeff
    Jeff avatar
    4 posts
    Member since:
    Jul 2015

    Posted 25 Oct in reply to Dimitar Link to this post

    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.

     

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

  5. Dimitar
    Admin
    Dimitar avatar
    1414 posts

    Posted 26 Oct Link to this post

    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.
Back to Top