More in this section
Forums / General Discussions / Sub menu navigation

Sub menu navigation

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, 0 answered
  1. Karl
    Karl avatar
    45 posts
    18 Jun 2009
    01 Mar 2011
    Link to this post
    Using Sitefinity 3.7 SP4 for out new Intranet. Everything thus far is working well, however as a result of the site being huge in terms of the number of pages, I have built a submenu using a RadTreeview which is hooked up to a sitemap datasource which has a starting node of the section you are currently in. So for example if a user clicks on Finance' from the main menu, my treeview submenu will have a starting node of finance.aspx, and will display all the child nodes of finance. This method works fine when all the pages are published, however with workflow turned on, when creating pages I woiuld often receive the error "Cannot find the starting node etc etc", I'm assuming because until the page is published it has not been added to the sitemap. There is a workaround, to hide the submenu if the page is in draft mode, but I want the menu to be displayed as the user constructs the pages.
    Is there anyway to achieve this, or a better way of doing this?
    Thank you.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    01 Mar 2011
    Link to this post
    Hi Karl,

    If you use the workflow until the page is published it will not be added to the SiteMapDataSouce. If you want to bind all pages to the menu you can use CmsManger and its methods like GetPages() and populate your control manually.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
2 posts, 0 answered