Opinion on how to use drag and drop for multiple source values into destination

2 posts, 0 answers
  1. mike
    mike avatar
    5 posts
    Member since:
    May 2014

    Posted 09 Jun 2014 Link to this post

    I was wondering if the listbox drag and drop functionality would be good for the following scenario: building a toy.

    The source listbox will contain items (e.g. toy components) that can be double-clicked or dragged over to the destination listbox. 
    The destination listbox will contain all the items needed to build the toy. There can be one or more items from the source listbox that can be added to the destination listbox. 

    For example: Building a car. 
    - in source listbox select the wheels and drag it to the destination listbox. 
    - the wheels in the source listbox should still be there for me to re-select it again and drag it to the destination listbox because a car needs two sets of wheels. 
    - if we wanted, we can drag another set of wheels to the car.

    is there a setting where i drag and drop but have the item not being removed in the source listbox so I can keep on selecting and dragging it over to the destination listbox?
    or is this something that i need to do client-side or server-side?
    thanks for the help.
  2. mike
    mike avatar
    5 posts
    Member since:
    May 2014

    Posted 09 Jun 2014 in reply to mike Link to this post

    I don't know why it didn't work the first time. 
    But i shut down Visual Studio and tried again and it worked with the AllowDuplicates='true'
Back to Top