Keep Button State Down

2 posts, 1 answers
  1. Bruno
    Bruno avatar
    20 posts
    Member since:
    Sep 2012

    Posted 24 Nov 2011 Link to this post

    Hi all,

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

  2. Answer
    Slav avatar
    1351 posts

    Posted 25 Nov 2011 Link to this post

    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.

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top