<siteMapNode url="Customer support.aspx" title="Customer support" description=""/>
<siteMapNode url="ProductRegistration.aspx" title="Register products" description=""/>
<siteMapNode url="CustomerSurvey.aspx" title="Complete customer survey" description=""/>
<siteMapNode url="ContactUs.aspx" title="Contact us" description=""/>
<siteMapNode url="TechnicianSupport.aspx" title="Technician support" description=""/>
<siteMapNode url="CustomerIncidentDisplay.aspx" title="Display customer incidents" description=""/>
<siteMapNode url="IncidentUpdate.aspx" title="Update incidents" description="">
</siteMapNode>
<siteMapNode url="Administration.aspx" title="Administration" description=""/>
<siteMapNode url="ProductMaintenance.aspx" title="Maintain products" description=""/>
<siteMapNode url="CustomerMaintenance.aspx" title="Maintain customers" description=""/>
<siteMapNode url="TechnicianMaintenance.aspx" title="Maintain technicians" description=""/>
<siteMapNode url="IncidentCreation.aspx" title="Create incidents" description=""/>
<siteMapNode url="TechnicianIncidentSummary.aspx" title="Display techninican incidents" description=""/>
<siteMapNode url="IncidentAssignment.aspx" title="Assign incidents" description=""/>
<siteMapNode url="IncidentDisplay.aspx" title="Display incidents" description=""/>
<siteMapNode url="CustomerDisplay.aspx" title="Display customers" description=""/>
<siteMapNode url="Map.aspx" title="Site Map" description="">
</siteMapNode>
结果并不完全正确...当我向Map.aspx网页添加TreeView时,它将Home显示为唯一的父节点。 Home应该是主要的客户支持,技术人员支持和管理作为下一个头节点,然后是其他所有其他节点。 这有意义吗?
答案 0 :(得分:0)
Home是所有其他节点所在的根节点。
我从未亲自使用过TreeView,但是当我使用SiteMapDataSource构建导航菜单时,我设置ShowStartingNode="false"
以跳过根节点。