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.
Put the cursor on one of the items in the left listBox, depress the left mouse button and look at the cursor. It changes to a "dragdrop" copy symbol. If the drag is continued on into listBox2 (whose event is fired.
Once you have set in motion the DoDragDrop operation, the pump is primed so to speak. Put the cursor on one of the items in the left listBox, depress the left mouse button and look at the cursor. It changes to a "dragdrop" copy symbol. If the drag is continued on into listBox2 (whose event is fired.
Items from the left listbox (listBox1) can be dragged to the right listbox (listBox2). Items in the right listBox2 can be rearranged or removed. Drag and Drop events are trapped and reported in a third listbox and informational label. DragDrop events are heavily instrumented and reported.
Once you have set in motion the DoDragDrop operation, the pump is primed so to speak. Put the cursor on one of the items in the left listBox, depress the left mouse button and look at the cursor. It changes to a "dragdrop" copy symbol.
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.
Perhaps this answers your question?
From that post the infinity links to meadmiracle for a jQuery implementation and a demo. I personally don't like the horizontal layout of the buttons though although I'm sure that could be fixed pretty easily.
Also I've found this jQuery multi selection control interesting over on the UX Stack-Exchange.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With