Solved

JQuery, Draggable, Droppable, Deletable!

Posted on 2009-04-10
1
365 Views
Last Modified: 2012-05-06
I'm wanting to make a page using jQuery and ASP.NET that will load a list of users from a database and populate a box with draggable boxes, each box representing a user.

There are two containers. "Active" and "Inactive". I basically want it to populate based on a single key in the user record. I'm aiming to be able to drag from either box into the other and have it change that key when it is dropped in there.

I know that this is doable using jQuery draggable/droppable - but what i'm most lost on is the ajax involved. I don't need someone to give me the entire project, but I was wondering if anyone had some demonstrations on how to write AJAX code to work with these kinds of things? I can't really wrap my mind around how to trigger a callback, get the item being dragged/dropped/etc.

Any suggestions?
0
Comment
Question by:veruthandai
1 Comment
 
LVL 8

Accepted Solution

by:
MrAgile earned 500 total points
ID: 24124456
Hi There,

Some of these links will help you understand this. If you still have issues then let me know.

Sean

http://jqueryui.com/demos/droppable/#photo-manager

http://www.daniweb.com/forums/thread170783.html
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
DLL in ASP.NET 20 45
jQuery or CSS 9 38
JavaScript Scope issue 4 20
Google maps isn't showing even after API has been entered 12 45
PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now