Styling Controls When Disabled

3 posts, 0 answers
  1. Paul
    Paul avatar
    38 posts
    Member since:
    Oct 2008

    Posted 07 Jan 2009 Link to this post

    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. Paul
    Paul avatar
    38 posts
    Member since:
    Oct 2008

    Posted 07 Jan 2009 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Martin
    Admin
    Martin avatar
    585 posts

    Posted 10 Jan 2009 Link to this post

    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.
Back to Top