Hello again :)
Have a small problem, or an issue.
It is so that I tested web.sitemap to create menu that you explain in the book. And everything works perfectly what I have a problem with is that when I want to add more siteMapNode.
I have the following error "Exactly one <siteMapNode> elements required immediately inside the element <siteMap>." What this may be due to? I make no changes in MenuWrapper <div> I let it be as it is, in the book.
This is how my code look like:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/" title="Home" description="Home">
<siteMapNode url="~/Default.aspx" title="Home" description="Go to the homepage" />
<siteMapNode url="~/Reviews/Default.aspx" title="Reviews" description="Rewievs published on this site">
<siteMapNode url="~/Reviews/AllByGenre.aspx" title="By Genre" description="All Rewievs Grouped by Genre" />
<siteMapNode url="~/Reviews/All.aspx" title="All Reviews" description="All Rewievs" />
</siteMapNode>
<siteMapNode url="~/About/Default.aspx" title="About" description="About this site">
<siteMapNode url="~/About/Contact.aspx" title="Contact Us" description="Contact Us" />
<siteMapNode url="~/About/AboutUs.aspx" title="About Us" description="About Us" />
</siteMapNode>
<siteMapNode url="~/Login.aspx" title="Login" description="Log in to this web site" />
</siteMapNode>
<siteMapNode url="~/TestAbout/Default.aspx" title="Test About" description="About this site">
<siteMapNode url="~/TestAbout/Contact.aspx" title="Test Contact Us" description="Contact Us" />
<siteMapNode url="~/TestAbout/AboutUs.aspx" title="Test About Us" description="About Us" />
</siteMapNode>
</siteMap>
http://www.workidoo.com