1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Menu navigation: Real vs UI Presentation

Menu navigation: Real vs UI Presentation

5 posts, 0 answered
  1. mexner
    mexner avatar
    98 posts
    Registered:
    06 Apr 2006
    08 Jun 2008
    Link to this post
    Hello, hoping you can lend some guidance to my situation. We've built a site implementing the SitemapDataSource control and bind it to the RadMenu. As we have many master pages at various levels in the navigation structure, we set the SiteMapDS properties differently...

    StartFromCurrentNode="true"   
    ShowStartingNode="false" 
    StartingNodeOffset="-1"  

    For the most part, everything worked correctly doing this. However, over the weekend my client started adding alternate URL's to every page. Some pages having up to 5 different URL's. Add to that, the new URL's they created are for the most part set to Default. So the standard generated page name is not the default page name. All for the love of SEO!

    After doing so, my navigation is completely useless. It doesn't work. I've read the developers guide and can only conclude that the default sitemap datasource is a logical representation of the sitemap, using the new default URL's.

    I'm only guessing that is the problem, that is the only thing that has changed over the weekend.

    I'm looking to bind my menu's to a data source that is identical to the sitemap seen in the admin->pages area. What data source should I be using to accomplish this?

    Am I thinking this thru correctly?  If I'm off base, can you proide me with an alternate data source that I can use to bind my menu's to, that will look just like the datasource that the treeview uses in the admin-pages section?

    My example of the problem follows....

    sitemap example
    Corporate
     - page 1
     - page 2 
         - page 2a
         - page 2b
     - page 2
    Section 1
     - page 1
        - page 1a
         - page 1b
     - page 2
     - page 3

    The client did not alter any pages in the Corporate node, and everthing continues to work perfectly. They did create all the new URL's and Default URL's in section 1.

    So when a person visits the page 1b in Section 1, the menu structure should show page1,2,3. However, now, all it shows is page 1 (the parent page), leaving out page 2,3.

    Hope this makes sense, looking forward to your response, as I'm at a complete loss right now.
    Thanks,
  2. mexner
    mexner avatar
    98 posts
    Registered:
    06 Apr 2006
    08 Jun 2008
    Link to this post
    Forgot to mention that I DID verify all pages are set to be visible. Nothing is hidden.
  3. mexner
    mexner avatar
    98 posts
    Registered:
    06 Apr 2006
    09 Jun 2008
    Link to this post
    This is a hot topic for my client, any thoughts?
  4. mexner
    mexner avatar
    98 posts
    Registered:
    06 Apr 2006
    10 Jun 2008
    Link to this post
    I've made some progress, turns out the "issue" might be something else. I was experiencing an error with a specific page. The error referenced "Index outside of Bounds" exception.

    I did a little investigation, and it turns out that my navigation structure would fail to render correctly once it hit the node containing this page that was erroring out.  All the nodes before this "error" node were perfect.

    So I did some research in the DB and executed this
    delete  from sf_pageContentBase  
    where id = '42C447D7-E95D-4E56-A4CC-437804655C87' 
     
    delete from sf_pageBase  
    where id = '42C447D7-E95D-4E56-A4CC-437804655C87' 
     
    delete from sf_cmspagecontent 
    where id = '42C447D7-E95D-4E56-A4CC-437804655C87' 
     
    delete from sf_cmspageProps 
    where id = '42C447D7-E95D-4E56-A4CC-437804655C87' 
     
    delete from sf_cmspageTemplate 
    where id = '42C447D7-E95D-4E56-A4CC-437804655C87' 


    Once I deleted the page from the DB, presto! Everything began to work properly. I have no idea what the real problem with the page is/was. 


  5. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    11 Jun 2008
    Link to this post
    Hi Chris,

    We tried a similar structure but could not see the problem.

    Please contact us if you have any additional information regarding this issue. We would highly appreciate it.

    All the best,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
5 posts, 0 answered