M
mc
I've got three controls on a page
a Drop Down List, a List Box and a Button
I've added 3 items to the Drop Down List
I have added some code in the Button onClick Event Handler, as below
ListBox1.Items.Addd(DropDownList1.SelecteItem);
ListBox1.ClearSelection();
If I select the 2nd item in the list and click the button, item 2 gets
added to the ListBox but the Selection of the Drop Down List is Forgotten!
Why??
Regards
Mike
a Drop Down List, a List Box and a Button
I've added 3 items to the Drop Down List
I have added some code in the Button onClick Event Handler, as below
ListBox1.Items.Addd(DropDownList1.SelecteItem);
ListBox1.ClearSelection();
If I select the 2nd item in the list and click the button, item 2 gets
added to the ListBox but the Selection of the Drop Down List is Forgotten!
Why??
Regards
Mike