How to highlight a button which is clicked

2 posts, 0 answers
  1. Chandz
    Chandz avatar
    7 posts
    Member since:
    Feb 2016

    Posted 03 Feb Link to this post

    Hello telerik team,

     I am developing an aspx page (C#, ASP.Net),

    In my webform i have four buttons with its own functionality aligned similar to tabs.

    If i click  button1, then button1 should be highlighted and automatically all the other three buttons should not be highlighted, vise versa to all the three buttons.

    Only one clicked button should be highlighted at a time.

    Is there any easy ways to achieve it..

    Thanks in advance.

    Will be more grateful if u people replied a bit faster..

  2. Danail Vasilev
    Danail Vasilev avatar
    1476 posts

    Posted 08 Feb Link to this post

    Hello Chandz,

    The easiest approach is to configure a RadButton as a RadioButton. See details here - The radio buttons have a radio button icon CssClass configured, but you can simply remove it.

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