G
Guest
Hi,
I am trying to change the font color for the items in a dropdownlist control
at run time using ASP.NET 2.0.
DropDownList1.Items.Attributes.Add("style", "color:red");
But when I run the application, I don't see any color change.
I am using Visual Studio 2005, ASP.NEt 2.0.
Any help would be great!
I am trying to change the font color for the items in a dropdownlist control
at run time using ASP.NET 2.0.
DropDownList1.Items.Attributes.Add("style", "color:red");
But when I run the application, I don't see any color change.
I am using Visual Studio 2005, ASP.NEt 2.0.
Any help would be great!