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

PanelBar,Toggle button Highlighting on its click

1 Answer 83 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Savan
Top achievements
Rank 1
Savan asked on 14 May 2009, 12:09 AM

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

1 Answer, 1 is accepted

Sort by
0
Accepted
Nick
Telerik team
answered on 14 May 2009, 09:58 AM
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.
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
Savan
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or