M
Marina
Hi,
if anyone can help me with this i would apreciate it.
I have 2 drop down lists, and between them, they have some values that
are similar. How can i fill the second drop down and remove the item
thats selected in the first drop down, so that the same item doesnt
appear on both drop downs?
i have tried doing this after i load both dropdowns:
2ndlist.Items.Remove(1stlist.SelectedItem.Text) BUT NOTHING HAPPENS. I
still get the value on both drop downs
it only works with the index:
2ndlist.Items.RemoveAT(1stlist.SelectedIndex) BUT its not right since
drop downs dont have the same amount of items.
if anyone can help me with this i would apreciate it.
I have 2 drop down lists, and between them, they have some values that
are similar. How can i fill the second drop down and remove the item
thats selected in the first drop down, so that the same item doesnt
appear on both drop downs?
i have tried doing this after i load both dropdowns:
2ndlist.Items.Remove(1stlist.SelectedItem.Text) BUT NOTHING HAPPENS. I
still get the value on both drop downs
it only works with the index:
2ndlist.Items.RemoveAT(1stlist.SelectedIndex) BUT its not right since
drop downs dont have the same amount of items.