2

I am developing a MVC application wherein I have to implement Drag n Drop functionality. I also want to get the source as well as target items/ records in the table/ div once the item is dropped on a target place. Then both the source and target values will be passed to the action method defined in the controller to update the same in the database.

Can anyone please suggest some links?

2
  • 1
    With what part in particular are you having a problem? What have you tried to do? Do you have a live demo that we could see, and help with? Commented Aug 22, 2011 at 13:04
  • @David - I do not have any live demo yet. I am having problems while getting the target element. The functionality is implemented as per the following link - stackoverflow.com/questions/1405396/… Commented Aug 22, 2011 at 13:08

1 Answer 1

2

Use http://api.jquery.com/serialize/ to pass your data and jQuery UI sortables http://jqueryui.com/demos/sortable/ for the drag and drop.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.