Link to home
Start Free TrialLog in
Avatar of chuang4630
chuang4630

asked on

How to select/remove the item from list box (single selection mode)?

I need to move item from listBox1 to listBox2.
Both list boxes are in single selection mode.

Clicks the item1 in ListBox1 and button Add, it works. The item is removed from listBox1 and appears in listBox2.
Clicks the item2 in listBox1 and button  Add, it fails. The error message:

System.Web.HttpException: Cannot have multiple items selected when the SelectionMode is Single.


How do I fix this?
ASKER CERTIFIED SOLUTION
Avatar of REA_ANDREW
REA_ANDREW
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do you need anymore assistance with this one?