Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Thomas Enggaard Christensen 24 posts 49 karma points
    Apr 30, 2011 @ 10:41
    Thomas Enggaard Christensen

    Problem with UmbracoSiteMapProvider


    I'm experimenting with the native navigation controls, and the sitemapprovider.

    I have created a user control with the following markup:

    <asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1"  />
    <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server"  />

    In a normal website with a "web.sitemap" file the usercontrol works as intented.

    However when I create a macro with it in umbraco, it only renders the root node. All the child nodes in the content tree in umbraco does not get rendered.

    (The default sitemap provider is set to the "UmbracoSiteMapProvider" in the umbraco web.config.)

    Anyone that can tell me what I'm doing wrong and where?

    (I'm using a fresh Web platform install of Umbraco 4.7.0 with the "personal site" templates)

  • Morgan Skinner 4 posts 24 karma points
    Apr 03, 2012 @ 12:40
    Morgan Skinner

    Did you manage to get this working? I have exactly the same issue, I have a set of nodes but all I'm seeing is the Root node in the TreeView control. Any help greatly appreciated!

  • Thomas Enggaard Christensen 24 posts 49 karma points
    Apr 06, 2012 @ 00:06
    Thomas Enggaard Christensen

    Hi Morgan

    I never got this to work.

    I did'nt put much effort into it though after I started this thread.

Please Sign in or register to post replies

Write your reply to: