kyle goodfriend
Top achievements
Rank 2
kyle goodfriend
asked on 22 Jun 2008, 06:58 PM
Does anybody know what part of the css I change to make the menu item related to the selected page/current page to be a specific color?
4 Answers, 1 is accepted
0
Patrick
Top achievements
Rank 1
answered on 23 Jun 2008, 02:45 AM
I am looking for the same exact thing. I have a panel bar in my master page that gets its list of items(pages) from an xml file. This xml file has tags in it for NavigateUrl for the landing page locations. What I would like see happen is a way to highlight in the menu through colors and backgound image, where you are in the menu. I want it to stand out where you are exactly on the panel bar by what page you are at.
I think you are looking for something similiar. Maybe Telerik can explain what we need to do to accomplish this. I am sure its some css variables, but I could not find it on their site and code.
If you look at this page:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/PanelBar/Examples/Appearance/TextWithIcons/DefaultCS.aspx
You see that if you click on Contacts, the bar around the contacts goes from blue to orange. Unfortunately, they do not include the CSS file as part of the code they show you. Thats a very important piece of the puzzle that is missing.
Thanks,
Patrick
I think you are looking for something similiar. Maybe Telerik can explain what we need to do to accomplish this. I am sure its some css variables, but I could not find it on their site and code.
If you look at this page:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/PanelBar/Examples/Appearance/TextWithIcons/DefaultCS.aspx
You see that if you click on Contacts, the bar around the contacts goes from blue to orange. Unfortunately, they do not include the CSS file as part of the code they show you. Thats a very important piece of the puzzle that is missing.
Thanks,
Patrick
0
Hi there,
For details on the matter please refer to the control's documentation under section Controls --> RadPanelBar --> Appearance and Styling --> CSS Skin File Selectors.
Greetings,
Paul
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
For details on the matter please refer to the control's documentation under section Controls --> RadPanelBar --> Appearance and Styling --> CSS Skin File Selectors.
Greetings,
Paul
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Patrick
Top achievements
Rank 1
answered on 23 Jun 2008, 10:16 PM
This helps for css issues, thanks for the link. My issue is that there are 3 ways to navigate to a page currently. You can get there from the top nav bar, from the right Telerik(Panel Bar), or from the breadcrumb on the page.
Once you land on the new page, the right nav bar(Panel Bar) does not update with the current link highlighted. It stays on the last item you clicked in that list. I need it to update based on the URL that you land at. Is there a way to do this?
I load the panel bar with an xml file that has these links in it from the code:
RadPanelBar1.LoadContentFile(somefile.xml);
Thanks,
Patrick
Once you land on the new page, the right nav bar(Panel Bar) does not update with the current link highlighted. It stays on the last item you clicked in that list. I need it to update based on the URL that you land at. Is there a way to do this?
I load the panel bar with an xml file that has these links in it from the code:
RadPanelBar1.LoadContentFile(somefile.xml);
Thanks,
Patrick
0
Hello Patrick,
You can use the approach used in our Programmatic State Persistence example.
Regards,
Paul
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can use the approach used in our Programmatic State Persistence example.
Regards,
Paul
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center