It works fine in IE 9 and earlier but it doesn't work on IE10 and newer. The option has some color, when that option is selected in pageload the color doesn't show. Works fine in IE9. below is the code. Any help will be appreciated. Thanks.
<asp:DropDownList ID="ddl" runat="server"> <asp:ListItem Value="0" Text="Item0"></asp:ListItem>
<asp:ListItem Value="1" Text="Item1"></asp:ListItem>
<asp:ListItem Value="2" Text="Item2" style="background-color:yellow"></asp:ListItem>
</asp:DropDownList>
protected void Page_Load(object sender, EventArgs e)
{
ddl.SelectedValue = "2";
}