Hello,
Could somebody help me with this issue ?
I use decorated radiobuttonlist control. Based on some logic steps in the code behind I've disabled all radio items except selected one. What I've tried to achieve is removing hover style which is applied over selected radio button and replaced it with normal state.
How to override style for hover action ? What should I insert inside of the class disableHovering ?
I use this code for iterating through radiobuttonlist collection:
For further info please check the attachment.
I will appreciate all suggestions...
Best regards
Vasek
Could somebody help me with this issue ?
I use decorated radiobuttonlist control. Based on some logic steps in the code behind I've disabled all radio items except selected one. What I've tried to achieve is removing hover style which is applied over selected radio button and replaced it with normal state.
How to override style for hover action ? What should I insert inside of the class disableHovering ?
I use this code for iterating through radiobuttonlist collection:
RadioButtonList rblCtrl = (RadioButtonList)ctrl;
foreach (ListItem i in rblCtrl.Items)
{
if (i.Selected != true) i.Enabled = false;
else
{
i.Attributes.Add("onmouseover", "this.className=('disableHovering');");
}
}
For further info please check the attachment.
I will appreciate all suggestions...
Best regards
Vasek