This is a migrated thread and some comments may be shown as answers.
RadPanelBar Item Selected
2 Answers 142 Views
This is a migrated thread and some comments may be shown as answers.
Mel Lysyk
Top achievements
Rank 1
Mel Lysyk asked on 15 Jul 2009, 06:23 PM
Hi,

I have a RadPanelBar on the MasterPage of my web application.  The PanelBar is used as the menu bar. When the user clicks on one of the items, they are redirected to another web page.  Three of these links point to the same page, but different labels etc should be displayed, depending on which PanelBar item was clicked.

My problem is that I need to be able to determine which item was selected in order to properly set the labels.  I have tried using the RadPanelBar.SelectedItem property, but it is null. 

Any ideas?

2 Answers, 1 is accepted

Sort by
0
Accepted
Paul
Telerik team
answered on 21 Jul 2009, 12:31 PM
Hello Mel,

You can use the approach shown in our PanelBar / Programmatic State Persistence example.

Sincerely yours,
Paul
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.
0
Mel Lysyk
Top achievements
Rank 1
answered on 21 Jul 2009, 08:14 PM
Thanks!  It worked.
Asked by
Mel Lysyk
Top achievements
Rank 1
Answers by
Paul
Telerik team
Mel Lysyk
Top achievements
Rank 1
Share this question
or