Let’s say you populate your dropdown list with five items.By default, the top item is ‘selected’ or showing, when the population finishes. Then, if you choose that item in a that is currently showing, it won’t fire the onselectedindexchanged event. That’s because it’s not a click event. The item in the DropDownList actually needs to change to fire this event.
The way to get around this is to add a ‘dummy’ item to the top of the list, once it’s populated, like:
” — Choose — “
Then, any valid item you choose from there should work. The only drawback is that you need to code around this item in your event procedure, like this:
If ddl.SelectedItem.text <> ” — Choose — ” then
‘put code for event here
End if