advanced web statistics

Any AJAX Gurus Willing to Help Me Strong-Arm ReorderList?

12/8/2006 6:35:30 PM

So my latest project has to have a certain functionality that is dragging and dropping items on a screen. Easy.  I have used  ASP.NET AJAX to accomplish this so far; namely the ReorderList control. Very easy to use when only having to sort one item because, well; that`s all it seems to support.  This control could be very useful if you could perform multidimensional sorting.

I will help potential gurus hopefully help me by creating, or attempting to create a visual.  The table below is very simple. The far left (cornflowerblue) column will serve as the primary key.  The far right (grey) column is a null value that is stored in the database. A value could be moved here and an update would occur in the database.

1 1 2 3
2 4 5 6

Let's say I wanted to move 1 over to 5. I would want my table to now look like:

1 5 2 3
2 4 1 6

Now let's move 5 to the second row and replace the null value.

1 2 3
2 4 1 6 5

This would be nice, but not a priority.  Actually, I don't care but if there is an obvious way please let me know how to accomplish this.

1 2 3
2 4 1 6 5

This functionality has to exist out there. If 12 year-olds are organizing their top 16 friends on MySpace with this functionality then I should be able to find an example right?  I'm glad I finally took the plunge in learning AJAX.  As far as samples and beginner-level functionality goes I was surprised at how easy it was to get started.

If anyone has any familiarity with the problem I am having, knows of a good book, blog, magazine, or you simply "know a guy" please leave a comment or send me an e-mail.

UPDATE
I found javascript that is close to what I need. Here is the link.

AJAX

kick it on DotNetKicks.com

Leave a Comment

   

  Enter the text to proceed!