带有 web.sitemap 的 MvcSitemap 提供程序

发布于 2024-12-29 14:41:43 字数 181 浏览 4 评论 0原文

我有一个站点地图,用于 Telerik 树视图渲染,我想对 Mvcsitemap 提供程序面包屑功能使用相同的站点地图。由于这两个站点地图节点不同,我想操作 mvcsitemap 提供程序 xsd,这样我就不必维护两个站点地图(一个用于 telerik,一个用于 mvcsitemap 提供程序)。我尝试调整 xsd,但我的面包屑不起作用..请帮助

I have a sitemap, which I use for Telerik treeview rendering, I would like to use the same sitemap for Mvcsitemap provider bread crumbs functionality. Since the sitemap nodes are different for both these, I would like to manipulate the mvcsitemap provider xsd so that I do not have to maintain two site maps (one for telerik and one for mvcsitemap provider). I tried tweaking the xsd and my bread crumb does not work.. Please help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

脸赞 2025-01-05 14:41:43

Telerik 从站点地图提供程序呈现其视图,而不是直接从站点地图呈现,因此您只需将 Telerik 指向 MvcSiteMapProvider。

Telerik renders its views from a sitemapprovider - not directly from the sitemap, so you can just point Telerik to the MvcSiteMapProvider.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文