PanelBar,Toggle button Highlighting on its click

2 posts, 1 answers
  1. Savan
    Savan avatar
    6 posts
    Member since:
    Apr 2009

    Posted 13 May 2009 Link to this post

    I have a PanelBar with a GroupElement which further has 5 Togglebuttons as child. I want to highlight the clicked togglebutton and make others Unhighlighted.
    I am using togglestate ON/OFF property but its not working, below is my sample code.

    Private Sub PanelBarElement1btnToggleButtonChild1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles PanelBarElement1btnToggleButtonChild1.Click
            PanelBarElement1btnToggleButtonChild1.ToggleState = Enumerations.ToggleState.On    
            PanelBarElement1btnToggleButtonChild2.ToggleState = Enumerations.ToggleState.Off
            PanelBarElement1btnToggleButtonChild3.ToggleState = Enumerations.ToggleState.Off
            PanelBarElement1btnToggleButtonChild4.ToggleState = Enumerations.ToggleState.Off
            PanelBarElement1btnToggleButtonChild5.ToggleState = Enumerations.ToggleState.Off
    End Sub

    Many thanks in advance...............
    Savan

  2. Answer
    Nick
    Admin
    Nick avatar
    767 posts

    Posted 14 May 2009 Link to this post

    Hello Savan,

    Please send us your application or even better a sample one so we can tell you what you have to set or we can verify that there is a bug. Please note that you have to open a new support ticket so that you can attach files. I am looking forward to helping you further with that.

    Greetings,
    Nick
    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top