我有一个带有标签的母版页。这些选项卡由以下站点地图文件定义:
<siteMap>
<siteMapNode title="Home" url="~/" >
<siteMapNode title="Schedule" url="~/Pages/Tab2.aspx"/>
<siteMapNode title="Deliverables" url="~/Pages/Tab3.aspx"/>
<siteMapNode title="My Items" url="~/Pages/Tab4.aspx"/>
<siteMapNode title="Management" url="~/Pages/Tab5.aspx"/>
<siteMapNode title="Working Docs" url="~/Pages/Tab6.aspx"/>
</siteMapNode>
</siteMap>
问题是,在我的子网站上,点击一个选项卡会让我回到根目录。例如,我希望计划链接转到http://Server/Subsite/Pages/Tab2.aspx。相反,我得到的是http://Server/Pages/Tab2.aspx。我读到在链接的开头有一个波浪号可以解决这个问题,但它没有。