Javascript equivelant of GetCheckedGroupButton

3 posts, 0 answers
  1. Jon
    Jon avatar
    14 posts
    Member since:
    May 2014

    Posted 12 Jun 2015 Link to this post

    I have been trawling for an answer to this question but nothing is coming up.

    In code behind with a RadToolBar I can use




    to identify which item is "clicked"


    I cannot find any reference to a javascript version of this?

     is there one?




  2. Plamen
    Plamen avatar
    3079 posts

    Posted 17 Jun 2015 Link to this post

    Hello Jon,

    Unfortunately there is no such client method and the control.

    In such case I would recommend you to go through all the items and return the one that is checked. Here is a sample code that worked at my side:
    var items = toolBar.get_items();
           for (var i = 0; i < items.get_count(); i++) {
               if (items.getItem(i).get_checked()) {

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Jon
    Jon avatar
    14 posts
    Member since:
    May 2014

    Posted 28 Jun 2015 in reply to Plamen Link to this post

    Thanks, that worked for me.


Back to Top