Try Now
More in this section

Forums / Designing with Sitefinity / SitePanelbar display top-level menu items only?

SitePanelbar display top-level menu items only?

2 posts, 0 answered
  1. Andrew
    Andrew avatar
    47 posts
    22 May 2009
    12 Aug 2009
    Link to this post

    I'm using a SitePanelbar down the side of my site homepage, but I only want to show the site's top-level pages. I don't want to show any pages lower down in the hierarchy. Is this possible either through configuration or styling?

    (I can't set "Show In Navigation"=No on all these pages because I also have a SiteMenu where I *do* want all pages to appear in dropdowns).

    Thanks in advance
  2. Nikolai
    Nikolai avatar
    216 posts
    21 Oct 2016
    13 Aug 2009
    Link to this post
    Hi Andrew,

    Via the SitePanelBar's Edit mode inside Sitefnity page editor you can set the MaxBindDepth to 1.
    This way only the First level pages will be displayed.

    How to:
    1. Go to edit mode for the SitePanelBar
    2. Open the Misc section and click on the PanelBar - Edit button
    3. In the new window go to Data section
    4. Set the
    MaxDataBindDepth to 1
    5. Save

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
2 posts, 0 answered