views:

1418

answers:

2

Does anyone know of a good .Net2.0+ compatible dual listbox control that either offers dragging and dropping between lists, or simple buttons to move items between lists and also sort the items in a particulr list. This is for a web based app and I would prefer some nice javascript to make this one speedy.

A: 

No answers yet huh? I don't know of anything exactly matching your request either, but you could probably cobble something together with YUI. Check it out if you haven't already.

Bryan
Nope, no comments yet. I doesn't even have to be a .net control. I have used simple javascript stuff before and you just serialize the list order to a hidden field.
CodeMonkey
Is this how your solution worked? Serializing the order to a hidden field and deserializing on postback to update the order?
jamiebarrow
+2  A: 

I decided to write my own drag and drop list control for this one using JQuery and JQuery UI. You can try out a sample here: demo. The right side sort list will scroll down if the left list is too long thus making it easier to drag and drop. I still have more testing and a few bug fixes on this one, but it seems to be working pretty well.

CodeMonkey
Awesome! I like the insert-placement like you'd expect from a nice GUI and it works great in Opera. Kudos!
Bryan
Thanks, once I get the code finalized I'll toss up another sample.
CodeMonkey
The link has gone 404...
Martha
I'll have to dig that demo up. I re-designed my site and wiped everything when I re-launched.
CodeMonkey