What is the best way (or is there a way) to swap images when a RadImageButtonElement is on the ribbonbar. We would also like to keep the text the same color but have the control be disabled with a different image.
Russ
1 Answer, 1 is accepted
0
Martin Vasilev
Telerik team
answered on 14 Oct 2009, 07:24 AM
Hello Russ,
Thank you for writing.
You can swap images in RadImageButtonElement EnabledChanged event. If you want to discard the default disabled paint you have to set UseDefaultDisabledPaint to false. Please, consider the following code: