Hi
I have a dropdownlist related to radiobutton's value. Since I want to add row in the dropdownlist, I set AppendDataBoundItems="True". Now I can see the new row added at the first row, but it shows all options regardless of radiobutton value.
So, I took it out from design page, and put it in the code page
Dropdownlist1.Items.Add("Choose A Location")
Dropdownlist1.AppendDataBoundItems =
True
Dropdownlist1.DataBind()
Now, what happens is if radiobutton's value is 1, dropdownlist has all locations for 1. Then, I choose radiobutton 2, dropdownlist shows all locations for 1 AND 2. If I choose 3 in radiobutton, dropdownlist has list for 1,2,and 3.
How can I fix this problem?
Thanks.