Dropdown font color in c#.net

Posted by Arun.Padmanaban under C# on 9/1/2012 | Points: 10 | Views : 2782 | Status : [Member] | Replies : 1
HI all,
i am using dropdown list.in code behind i am inserting the data in dropdown item(0) "dropdown.items.insert(0,"select") .Inserts perfectly.Issue is i am adding color for the item(0) dropdown.items(0).attributes.add("style","color:gray") . the dropdown is highligted perfectly.But before expand of the dropdown the text "select" should display gray (working fine in IE but in other browser it's display black color,when we expand the dropdown i can see the grayed color item).




Responses

Posted by: Vasanthmvp on: 9/3/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Arun,

yeah its working fine with IE. Good Observation.
As far as i know, this might be the issue with browser compatibility.

Regards,


Awesome Coding !! :)

Arun.Padmanaban, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response