Creating a Sitemap Page

Jan 16, 2008 at 1:11 PM
I am using the following code to bind a SiteMapDataSource to the provider PageSiteMap.

<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" SiteMapProvider="PageSiteMap" />

<asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1" ShowExpandCollapse="False" ShowLines="True"></asp:TreeView>

I am positioning this on a page where i want a sitemap to appear. However only the opening node is being displayed, the home page. Am I doing something wrong as I expect all my pages to show? Anyone created a site map page for BlogEngine.Net?