Click to See Complete Forum and Search --> : Moving ListBox Items From One To Another In ASP.NET!!


Frank100
June 9th, 2009, 06:02 AM
Hi Guys,

Anybody knows of a good implementation in ASP.NET using C# where you have 2 list boxes and you want to move items between them.

Records will be coming to first list box from database.

Like…
[Available Items] << < > [Select Items]

If not going to use AJAX.

Thanks

eclipsed4utoo
June 10th, 2009, 10:14 AM
actually fairly easy. when you are populating the first listbox from the database, check to see if it's already in the "selected" listbox. If it is, don't add it to the first listbox.