how to remove multiple items from the list box

S

Sara

Hai,
i have source and target listbox. i will select multiple items from
the source listbox. is it possible to do so?
is it possible to add all the removed item to target listbox. i tried. but
everytime when i select a item it handles the post back event. it could
remeber only the first selected item if i select more than one item also..
how to solve this...
 
D

Donald Welker

If it were me then I would turn off autopostback on the listboxes (I think
you'll have to do that to get multiple seiections) then add ">" and "<"
buttons to move items between them. So the user selects the items and clicks
">" to move them from left to right, the button causes a postback and
provides the item collection back to the server for processing (you have to
iterate the items collection and test each item's Selected property.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top