Panel Bar Auto-collapsed on load

2 posts, 0 answers
  1. Greg Mattison
    Greg Mattison avatar
    2 posts
    Member since:
    Jul 2005

    Posted 17 Mar 2010 Link to this post

    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
  2. Yana
    Admin
    Yana avatar
    4564 posts

    Posted 18 Mar 2010 Link to this post

    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.
Back to Top