5 Answers, 1 is accepted
0
Hello Joseph,
Thank you for contacting us.
Please, find the attached sample project. It contains three RadToggleButtons and handles their Click events. Each time a RadToggleButton is clicked, the state of the rest of the RadToggleButtons are changed to Off. This implies that only one button at a time can have a ToggleState On. At the same time all of the buttons may have a ToggleState Off. I hope the sample project demonstrates the desired behavior. If you encounter any issues, do not hesitate to contact me back.
Sincerely yours,
Boryana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Thank you for contacting us.
Please, find the attached sample project. It contains three RadToggleButtons and handles their Click events. Each time a RadToggleButton is clicked, the state of the rest of the RadToggleButtons are changed to Off. This implies that only one button at a time can have a ToggleState On. At the same time all of the buttons may have a ToggleState Off. I hope the sample project demonstrates the desired behavior. If you encounter any issues, do not hesitate to contact me back.
Sincerely yours,
Boryana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
answered on 11 Nov 2015, 01:50 AM
I think the RadToggleButton could provide an official property to complete the job like that :
ToggleGroupID (Toggle the grouped button automatically), etc.
Programmers would no need to write lots/duplicated code.
Best regards
Chris
0
Hello Chris,
Thank you for writing.
Your feedback is greatly appreciated. We will consider it in the future improvement of the control if other customers have similar requests. For now, feel free to use the suggested approach by Boryana which can be easily adopted to any case.
Should you have further questions I would be glad to help.
Regards,
Dess
Telerik
Thank you for writing.
Your feedback is greatly appreciated. We will consider it in the future improvement of the control if other customers have similar requests. For now, feel free to use the suggested approach by Boryana which can be easily adopted to any case.
Should you have further questions I would be glad to help.
Dess
Telerik
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
0
Mark
Top achievements
Rank 2
Bronze
Iron
Veteran
answered on 27 Jul 2017, 02:11 PM
If you had made your RadRadioButton work like native winforms RadioButton (allow to change appearance), then this would work already. From what I can tell, there is no way to change the appearance of a RadRadioButton to be either a check box or a button (Toggle). I agree with Chris, they should auto link, like the native radio buttons do.
0
Hello Mark,
Thank you for writing.
RadToggleButton is not designed to behave like a native RadioButton. Your feedback is greatly appreciated. We will consider it in the future controls' improvement. Meanwhile, feel free to use the suggested approach by Boryana.
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Progress Telerik
Thank you for writing.
RadToggleButton is not designed to behave like a native RadioButton. Your feedback is greatly appreciated. We will consider it in the future controls' improvement. Meanwhile, feel free to use the suggested approach by Boryana.
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.