if you are populating the drop down list at load then the first item you add to it will be index 0 and will be the first selected. if you want to change that after you load the dropdown you will want to do something like dropdownlist.selectedIndex = 4
dotnetdev201...
Member
319 Points
79 Posts
Re: When is DDL's SelectedValue set ?
Apr 30, 2012 05:37 PM|LINK
if you are populating the drop down list at load then the first item you add to it will be index 0 and will be the first selected. if you want to change that after you load the dropdown you will want to do something like dropdownlist.selectedIndex = 4