Disabled RadButton

2 posts, 0 answers
  1. Chan Wan
    Chan Wan avatar
    1 posts
    Member since:
    May 2018

    Posted 22 Jul 2018 Link to this post

    I am new to Telerik controls.

    I have a radbutton with image, currently when I set the button with ENABLE = FALSE, the image is the same, it is hard to recognize it is Enable or Disable.

    When I use regular microsoft button control, the Disabled button is easy to see.

    Please advise how to archive it.

     

    Regards,

    Patrick

  2. Dimitar
    Admin
    Dimitar avatar
    2818 posts

    Posted 23 Jul 2018 Link to this post

    Hi Chan,

    Please note that each theme has a specific disabled style. And this style may not affect the image.  In your case, you can just set the UseDefaultDisabledPaint property and you will have the standard gray style:
    radButton1.RootElement.UseDefaultDisabledPaint = true;

    I hope this will be useful. Let me know if you have additional questions.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top