Hi all,
After unsuccessfully trying to make my own dual listbox control out of
arraylists, I decided to look for a 3rd party control. I've looked for over
a week now and can't find anything but ASP.Net stuff when I need a Windows
Form control. I've seen dual listbox populators in countless Windows
applications, and have seen them run very fast, so I figured this would be
extremely popular.
Here's how it should work:
1. Data from an arraylist of objects is passed to the control.
2. The control populates a listbox on the right with this data (displaying
what column I want - say "StateNames" being displayed and "StateID" and
"StateAbbrev" and "Population" or any number of extra information from the
object that can be tracked with it).
3. The user makes 1 or more selections (multi-selection is optional, but
would be nice) and clicks on an "Add" or "<" button to send the selection(s)
to the left hand listbox.
The user may also "Remove" selections from the left hand listbox.
4. The items in the lefthand listbox are available as an arraylist for
further processing.
Sound simple?
It should be, but there are no examples anywhere of this being done with
arraylists, I've "googled", "webcrawled", etc for the last 10 days with no
luck (I have code doing this with datatables, yes, but I need it to be done
with arraylists - which has proved elusive).
Any ideas of where to start looking?
TIA
Dave