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

How make the PanelBar not selectable?

1 Answer 131 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Ramiro
Top achievements
Rank 1
Ramiro asked on 26 Aug 2011, 11:19 PM
Hi.
In evaluating the Panebar i want to make the panel bar not selectable, i.e. when the user click on the group or on the item only is pusched but not remain selected.

How can do i this?
thanks.

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 31 Aug 2011, 03:30 PM
Hello Ramiro,

 You can use the PreviewSelectionChanged event of the RadPanelBar and set e.Handled = true in the handler. This will prevent the RadPanelBarItems from being selected. On the other hand, you can disable only the visual notification of a selected item by changing the default style of the RadPanelBarItem. Please let us know if you need further assistance on this.

Regards,
Petar Mladenov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
PanelBar
Asked by
Ramiro
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or