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

Radio buttons as button-group

1 Answer 159 Views
ButtonGroup
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 26 Nov 2012, 02:49 PM
Hi all.

I'm new to Kendo (I'm coming from jQuery Mobile) and am struggling to achieve something fairly simple. I have a form with yes/no radio buttons. I want the radios to be styled as a Kendo button group. I tried putting the inputs/labels in LI's with the button group role applied to the UL which kinda worked but I could still see the actual radio buttons in the button group. Is there a way to this in Kendo (very simple in JQM).

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 27 Nov 2012, 11:46 AM
Hello James,

Although the button group somewhat resembles the web radio buttons behavior, in iOS it does not function like a radio group. In most cases, it performs sub-view navigation or immediately changes certain settings. 

If you need to use it like an input component, you can handle the button group select event, and change the value of a certain hidden input. 

Kind regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ButtonGroup
Asked by
James
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or