0
00_CumPeeWearD12
How to add background color to DropDownList item?
I can do this in HTML:
<select>
<option>test1
<option style='background:red'>test2
<option>test3
</select>
But I can't do this in ASP.NET, please help........
myDropdown.Items.FindByValue("name").Attributes.Add("style",
"background:red");
Help.
I can do this in HTML:
<select>
<option>test1
<option style='background:red'>test2
<option>test3
</select>
But I can't do this in ASP.NET, please help........
myDropdown.Items.FindByValue("name").Attributes.Add("style",
"background:red");
Help.