More in this section
Forums / Developing with Sitefinity / Menu in Panelbar with SiteMapDatasource

Menu in Panelbar with SiteMapDatasource

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 1 answered
  1. andreas
    andreas avatar
    1 posts
    08 Nov 2007
    18 Jun 2009
    Link to this post

    I want to integrate RadPanelBar with RadMenu like in the KB.

    How do I set the StartingNodeUrl to "SideNav", because my Sitemap looks like:

    level1 level2 level3 level4

    -Sitemap -TopNav
    -Item1 topnav
    -Item2 topnav
    -item1 mainnav
    -item2 mainnav
    -item1 sidenav
    -item11 sidenav
    -item12 sidenav
    item 121 sidenav
    item 122 sidenav
    -item2 sidenav
    -item21 sidenav
    -item22 sidenav
    item221 sidenav

    Level2/level3 should be Panelitems and level4 should be a Radmenu item expanded to the right.

    please help me!!

  2. Georgi
    Georgi avatar
    3583 posts
    28 Oct 2016
    23 Jun 2009
    Link to this post
    Hello Andreas,

    There are basically several things you might want to. Each of these two controls has a code behind file, and a OnDataBound event. In this event you might check if the current item's level is higher than the one you need, and hide the item if necessary. Here are the code behind files for the controls you need:
    • ~/Sitefinity/UserControls/Navigation35/SiteMenu.cs
    • ~/Sitefinity/UserControls/Navigation35/SitePanelbar.cs

    As for the SiteMapDataSource, you might set the property  StartingNodeUrl="~/SiteNav.aspx" in the same code behind files.

    Sincerely yours,
    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.
2 posts, 1 answered