G
Guest
Hi,
I am using FindByText method of dropdownlist to change the selected item in a dropdownlist like this:
DropDownList1.Items("mySelectedText").Selected = True
It doesn't seem to be doing the trick. I have this piece of code in OnSelectedIndexChanged event of the dropdownlist.
Can anyone tell me why it's not setting the selected item?
Thanks,
AK
I am using FindByText method of dropdownlist to change the selected item in a dropdownlist like this:
DropDownList1.Items("mySelectedText").Selected = True
It doesn't seem to be doing the trick. I have this piece of code in OnSelectedIndexChanged event of the dropdownlist.
Can anyone tell me why it's not setting the selected item?
Thanks,
AK