This is a migrated thread and some comments may be shown as answers.

Styling Controls When Disabled

2 Answers 65 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 07 Jan 2009, 12:07 PM
Is it possible to style controls, using RadFormDecorator, when controls are in a disabled state. Currently the controls are greyed out though still apply the hover and click styles from the CSS. I am currently using IE7 and have tried using .disabled but doesnt work in IE7.

Rgds.

2 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 07 Jan 2009, 04:31 PM

ok, i've found the code to set the disabled style for controls on one of the example skins. Here it is if anyone needs it:

 

a.radfd_Vista.radfdInputDisabled
{
[css code]
}

rgds
0
Martin
Telerik team
answered on 10 Jan 2009, 06:05 AM
Hello Paul,

We are happy you've found the solution by yourself. Just to add something that may be useful. In order to override the original "disabled" settings of the buttons, the !important flag has to be added after the property values in the custom CSS.

Kind regards,
Martin Ivanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
FormDecorator
Asked by
Paul
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Martin
Telerik team
Share this question
or