<siteMapNode url= "default.aspx " title= "default " />
如果新加了一个newpage.aspx也想用default.aspx的SiteMapPath的效果该怎么做呀???
URL重写的时候很头疼!
------解决方案--------------------------------------------------------
应该只能重写吧?期待结果
------解决方案--------------------------------------------------------
<siteMapNode url= "newpage.aspx " title= "newpage ">
<siteMapNode url= "1.aspx " title= "1 ">
<siteMapNode url= "2.aspx " title= "2 ">
</siteMapNode>
<siteMapNode url= "default.aspx " title= "default ">
<siteMapNode url= "1.aspx " title= "1 ">
<siteMapNode url= "2.aspx " title= "2 ">
</siteMapNode>
------解决方案--------------------------------------------------------
就是把default的配置复制给newpage
------解决方案--------------------------------------------------------
顶者有分.....
------解决方案--------------------------------------------------------
关注
------解决方案--------------------------------------------------------
HyperLink lnk = SiteMapPath1.Controls[2].Controls[0] as HyperLink;
Literal ltl = SiteMapPath1.Controls[4].Controls[0] as Literal;
想怎么操作就怎么操作.