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