从内容页面动态地将新痕迹导入主页面包屑 [英] new breadcrumb dynamically from content page into master page breadcrumb
问题描述
您好b $ b
我想制作面包屑,并在每次内容点击时添加动态面包屑
for exp。我点击test1.aspx,只显示没有链接的test1文本,然后当我点击test1.aspx列表中的产品时,我在test2.aspx上调用test2.aspx,将breadcrum显示为test1 / test2
,带有test1链接,test2为文本,没有链接
这应该是动态的
请咨询
i尝试过sitemappath,但它不是动态的......
或者是站点地图路径动态,可以在站点地图中完成???
我使用asp.net 3.5和visual studio 2008
请给出以上任何代码示例
Hi
i want to make breadcrumb , and add dynamic breadcrumb, on each content click
for exp. i click on test1.aspx , show only test1 text without link , then when i click on product in test1.aspx list, i call test2.aspx , on test2.aspx , show breadcrum as test1/test2
,with test1 link , and test2 as text without link
this should be dynamic
pls advice
i tried sitemappath , but it is not dynamic ...
Or is Sitemap path dynnamic and can above be done in sitemap???
I use asp.net 3.5 , and visual studio 2008
pls give code examples for any of above
推荐答案
站点地图是动态的并提供这些功能。
您可以尝试添加树视图/菜单控件并将显示模式设置为水平并绑定站点地图文件。
Sitemaps are dynamic and provide these functionalities.
You can try adding a tree view / menu control and set the display mode horizontal and bind the sitemap file.
这篇关于从内容页面动态地将新痕迹导入主页面包屑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!