I have an ASP.NET dropdown that I\'ve filled via databinding. I have the text that matches the display text for the listitem I want to be selected. I obviously can\'t use Se
Its working fine ..
drplistcountry.SelectedIndex = drplistcountry.Items.IndexOf(drplistcountry.Items.FindByText("--Select--"));
Or
drplistcountry.ClearSelection(); drplistcountry.SelectedIndex = drplistcountry.Items.IndexOf(drplistcountry.Items.FindByText("--Select--"));