开发者

HtmlInputRadioButton when disabled does not gray out the labels

I am using in ASP.NET HtmlInputRadioButton runat = 开发者_运维技巧server dont ask why not RadioButtonList. Some one else's code and when I use disabled property it grays out the control but the labels are not grayed out and hence a defect. Any way to disable this control similar to RadioButtonList.Enabled = false in terms of visual experience?


With your Enable=false, change the style of the text color to #777777, or other, to gray out the text.

This is not done automatically, because actually asp.net leave that to the browser, to show the disabled status, but for the moment the browsers did not show disabled, the connected with the radio buttons, text.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜