using sitemap path with treeview
<p>i have inserted a sitemap data source + treeview control, written up my sitemap file, all the folder/file names are correct, yet, treeview is not reading directly from the sitemap file. Any suggestions?</p>

<p>sitemap code is shown below:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" &gt;

    &lt;siteMapNode url="~/Default.aspx" title="Home"  description=""&gt;
        &lt;siteMapNode url="~/about2.aspx" title="About"  description="" &gt;
        &lt;/siteMapNode&gt;
        &lt;siteMapNode url="~/menu.aspx" title="Menu" description=""&gt;
            &lt;siteMapNode url="~/starters.aspx" title="Starters" description=""/&gt;
            &lt;siteMapNode url="~/mains.aspx" title="Mains" description=""/&gt;
            &lt;siteMapNode url="~/desserts.aspx" title="Desserts" description=""/&gt;
            &lt;siteMapNode url="~/drinks.aspx" title="Drinks" description=""/&gt;
            &lt;siteMapNode url="~/specials.aspx" title="Specials" description=""/&gt;
        &lt;/siteMapNode&gt;
        &lt;siteMapNode url="~/contact.aspx" title="Contact" description=""&gt;
        &lt;/siteMapNode&gt;
        &lt;siteMapNode url="~/findus.aspx" title="Find Us" description=""&gt;
        &lt;/siteMapNode&gt;
        &lt;siteMapNode url="~/reviews.aspx" title="Reviews" description=""&gt;
        &lt;/siteMapNode&gt;
    &lt;/siteMapNode&gt;
&lt;/siteMap&gt;
</code></pre>

<p>could it be that the webforms i want the sitemap to work with are added to the root of the folder, and not in a folder? Help would be greatly appreciated. Thank you.</p>

<p>source code for asp.net/html.</p>

<pre><code>&lt;%@ Page Language="VB" AutoEventWireup="false" CodeFile="sitemap.aspx.vb" Inherits="sitemap" %&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head runat="server"&gt;
    &lt;title&gt;Untitled Page&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;div&gt;

        &lt;asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" /&gt;
        &lt;br /&gt;

    &lt;/div&gt;
    &lt;asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1"&gt;
    &lt;/asp:TreeView&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html
</code></pre>

<p>></p>
