Another way to add a default option to a dynamicly filled drop down is
to use;
mydropdown.Items.Insert(0,New ListItem("Choose...","none"))
add that after you bind it to the data source.
I ran into this issue earlier today and this worked for me. And similar
to 'GS' I was then stuck with another drop down that was auto populated
from the selection of the first drop down. But now that the
..SelectedValue was "none" it obviously didn't work. So what I created
was prior to the 1st drop down being selected the 2nd dropdown.Enabled
= False
Then I have a onchange event on the 1st DD that enables the 2nd DD and
runs the script to populate it on the postback based on the
..SelectedValue of the 1st DD.
Works like a charm. Hope that made sense.
Jeremy Reid
http://blackstaronline.net