Example of how to use a custom control (template) for drag and dropping element from a list to another.
JavaScript C# CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DragAndDropWebList
.gitattributes
.gitignore
DragAndDropWebList.sln
MultiChoice.gif
README.md

README.md

Description

This is a MVC website that show you how to use a custom template to be able to select from an existing list one or multiple choices. Once selected you can drag and drop from the "selected" list or removed it by drag and dropping the item desired into the "available" list. The list is saved and sent when the form is sent to the controller. If you edit the entity again, the list will be fill up with the selected which allow you to remove or add other items.

Animated gif that demonstrate the user control