Does anyone know how to show a listbox with different colors on its
itens?
Here goes what I've been trying to do:
On Page_OnLoad event I fill the dropdownlist and then I perform a FOR
to read this dropdownlist to change the color of some items in it but
this doesn't seem to work.
The line below is what I tried to use to perform this action but it
didn't work out
cbxCountry.Items(intPos).Attributes.CssStyle.Add(" color", "red")
Thanks in advance for any help about this.
Renato.