C
Claudia Fong
I have a sitemap in my asp.net application and currently if I don't want
to show some of the buttons, I will put a comment of the node that I
don't want to be show, but I was wondering if I can control this in the
web.config instead of hard coded in the actual sitemap
Please see below the code
Cheers
Claudia
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/Default.aspx" title="Home" description="">
<!--siteMapNode url="~/Overview.aspx" title="Overview"
description="btnOverview.gif">
</siteMapNode>
<siteMapNode url="~/Orders.aspx" title="Orders"
description="btnOrders.gif">
</siteMapNode>-->
<siteMapNode url="~/Move.aspx" title="Move" description="btnMove.gif">
</siteMapNode>
<siteMapNode url="~/Logout.aspx" title="Logout"
description="Logout.gif">
</siteMapNode>
</siteMapNode>
</siteMap>
Cheers!
Claudi
to show some of the buttons, I will put a comment of the node that I
don't want to be show, but I was wondering if I can control this in the
web.config instead of hard coded in the actual sitemap
Please see below the code
Cheers
Claudia
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/Default.aspx" title="Home" description="">
<!--siteMapNode url="~/Overview.aspx" title="Overview"
description="btnOverview.gif">
</siteMapNode>
<siteMapNode url="~/Orders.aspx" title="Orders"
description="btnOrders.gif">
</siteMapNode>-->
<siteMapNode url="~/Move.aspx" title="Move" description="btnMove.gif">
</siteMapNode>
<siteMapNode url="~/Logout.aspx" title="Logout"
description="Logout.gif">
</siteMapNode>
</siteMapNode>
</siteMap>
Cheers!
Claudi