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

How to dynamically change badge color ?

1 Answer 497 Views
Button (Mobile)
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 11 Apr 2015, 04:00 PM

Hello,

I would like to dynamically change color of button's badge following some status information - so, to have several buttons with badges with different colors.

Is there a way how to do this? I browsed documentation, but I didn't find any solution.

Thanks a lot for any advise.

      Robert

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 13 Apr 2015, 12:45 PM

Hello Robert,

The Kendo UI Mobile Button does not have an option for setting the color of the badge. You can use CSS to change the color, as in this example:

http://dojo.telerik.com/ICiRe

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Button (Mobile)
Asked by
Robert
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or