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

Keep Button State Down

1 Answer 49 Views
Button
This is a migrated thread and some comments may be shown as answers.
Bruno
Top achievements
Rank 1
Bruno asked on 24 Nov 2011, 12:09 PM
Hi all,

Is there any way to implement a ButtonClick event so that the button keeps down in mutual exclusion with another button?

Thanks,
Bruno

1 Answer, 1 is accepted

Sort by
0
Accepted
Slav
Telerik team
answered on 25 Nov 2011, 02:01 PM
Hi Bruno,

You can achieve a mutual exclusion behavior with the RadButtons by setting their ToggleType property to Radio and grouping them by assigning a common GroupName. As a result the buttons will behave as radio buttons. You can check the online demo Button / Radios and Checkboxes for an example of the suggested approach.

I hope the provided solution meets your expectations. Please let us know if your run into more difficulties.

Regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Button
Asked by
Bruno
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or