Change color of disabled radiobutton list element
Posted
by Dave
on Stack Overflow
See other posts from Stack Overflow
or by Dave
Published on 2009-07-27T18:17:43Z
Indexed on
2010/06/10
19:52 UTC
Read the original article
Hit count: 458
I've got a radiobuttonlist with a bunch of list items, some of them disabled. The label control beside the radio button turns gray, which can be hard to read. How do I change the color of the label? I've tried CSS, changing the forecolor - nothing seems to work:
currentButton.Attributes.Add("class", "disabled");
Any ideas?
© Stack Overflow or respective owner