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

Panel Bar Auto-collapsed on load

1 Answer 79 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Greg Mattison
Top achievements
Rank 2
Greg Mattison asked on 17 Mar 2010, 06:57 PM
Hello, I would like the Panel Bar to be auto-collapsed, so it does not display sub pages and I can't determine how to do this. Can you please help me?

For example, the panel bar on the home page of the following site I'm building shows the sub and sub-sub navigation. I only want it to show the home page and the top level navigtion which shows in the main navigation atop the site.  


Thank you,

-Greg

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 18 Mar 2010, 08:23 AM
Hi Greg,

I suggest you call CollapseAllItems() method of RadPanelBar method of RadPanelBar in Page_Load event.

All the best,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
PanelBar
Asked by
Greg Mattison
Top achievements
Rank 2
Answers by
Yana
Telerik team
Share this question
or