I've got an MVC 3 application with a requirement for the Sysytem Admin to be able to generate an ordered list of device attributes from a master list of attributes and save it as a specified configuration.
I've looked at the question and answers for the following - Implementing Drag n Drop using JQuery
I've included the JQuery UI sortable libraries, scripts and styles to the View and visually everything seems to work great. Ityems are dragged and dropped fromthe master to the output list.
My problem is in retrieving the data from the output list - sortable JQuery UI element. In the referenced article, they recommend using the serialize method on the sortable element. However, sortable only appears to return the query string for the input elements on the form. The sortable element in my case is an ordered list and it's data isnot referenced.
How can I get the sortable element's data back to the controller?
Thanks.