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

Disabled RadButton

1 Answer 446 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 22 Jul 2018, 03:18 PM

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

1 Answer, 1 is accepted

Sort by
1
Dimitar
Telerik team
answered on 23 Jul 2018, 10:54 AM
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.
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
n/a
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or