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
If you have to select dropdown selected item text for multiple dropdown cases then use this way.
// Call Method SelectDropdownItemByText(ddlDropdown.Items.FindByText("test")); // Define method public void SelectDropdownItemByText(ListItem item) { if (item != null) { item.Selected = true; } }