I have a simple Web.sitemap file that Im trying to build a TreeView site map around:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="
http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/Default.aspx" title="Home">
<siteMapNode url="~/CreateLogin.aspx" title="Create an Account" />
<siteMapNode url="~/Login.aspx" title="Login" />
</siteMapNode>
</siteMap>
Ive dragged a SiteMapDataSource control to the page and then a TreeVeiw control. But as soon as I link the TreeView control to the SiteMapDataSource the TreeView control shows:
"Error parsing control: A relative URI cannot be created because the uriString parameter represents an absolute URI."
I dont see any absolute URIs in what Ive written so this doesnt make sense to me. Does anyone know what might be going on?
Thanks
Start Free Trial