This explains that one may doctor custom attributes into Web.sitemap like so:
<siteMapNode url="~/Default.aspx" title="Home" description="Home" foo="bar" />
...and then fish them back out like so in C#:
if (SiteMap.Current["foo"] == "bar") {
No comments:
Post a Comment