Update badge number in navBar from remote view

2 posts, 0 answers
  1. Kelvin
    Kelvin avatar
    2 posts
    Member since:
    Aug 2014

    Posted 07 Jan 2015 Link to this post

    I have layout, remove view.

    The remove view has a button, when I tap on this button, I need 1 count to be added in the layout's navbar's button's badge.  how do I achieve that?
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 08 Jan 2015 Link to this post

    Hello Kelvin,

    You can get a reference of the button and increase its badge number using the built-in badge() method.

    Here is an example:

    http://dojo.telerik.com/OzunU

    You can read more about the badge method, here:

    http://docs.telerik.com/kendo-ui/api/javascript/mobile/ui/button#methods-badge

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top