#
Shadar
I'm new to cuyahoga and was wondering if there is a built-in way to show a sitemappath? For example, if i am in /node1/node1.1/node1.11 i would print to the page " node1 > node1.1 > node1.11 " with links to each object except the current. In a normal asp.net 2.0 setup i would do this by creating a SiteMapPath asp object that references an xml document of the node objects. Is there a simple way to do this with cuyahoga using the navigation properties perhaps?
here is what i would do in the asp.net 2.0 setup:
default.master
web.config
web.sitemap
if you were located on page1a.aspx it would print " home > page1 > page1a "
Thanks,
Tim
here is what i would do in the asp.net 2.0 setup:
default.master
<asp:SiteMapPath id="SiteMapPathNavigation" runat="Server" PathSeparator=" > " RenderCurrentNodeAsLink="true" />web.config
<siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
<providers>
<add name="XmlSiteMapProvider" description="SiteMap provider which reads in .sitemap XML files." type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="web.sitemap" securityTrimmingEnabled="true"/>
</providers>
</siteMap>web.sitemap
<?xml version="1.0" encoding="utf-8" ?>
<siteMap>
<siteMapNode title="home" url="default.aspx">
<siteMapNode title="page1" url="page1.aspx" >
<siteMapNode title="page1a" url="page1/page1a.aspx" />
</siteMapNode>
<siteMapNode title="page2" url="page2.aspx" />
</siteMapNode>
</siteMap>if you were located on page1a.aspx it would print " home > page1 > page1a "
Thanks,
Tim