TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
neel k
NA
143
136.4k
mvc sitemapprovider
Jun 16 2015 3:44 PM
hi,
I am using MVC SiteMapProvider in mvc 5 application, in that I need use same view 2 time.
First: localhost/Reports/AvailableReport/runreport.
breadcrumd:
AvailableReport/runreport
Second: localhost/Reports/AvailableReport/editreport/runreport.
breadcrumd:
AvailableReport/ editreport/runreport
<mvcSiteMapNode title="Home" controller="Reports" action="AvailableReports">
<mvcSiteMapNode title="Manage Users" controller="Reports" action="ManageUsers">
<mvcSiteMapNode title="Add User" controller="Reports" action="AddUser"/>
<mvcSiteMapNode title="Edit User" controller="Reports" action="EditUsers" preservedRouteParameters="id"/>
</mvcSiteMapNode>
<mvcSiteMapNode title="Add Report" controller="Reports" action="AddReport"/>
<mvcSiteMapNode title="Run Report" controller="Reports" action="RunReport" preservedRouteParameters="id"/>
<mvcSiteMapNode title="Manage Report Groups" controller="Reports" action="ManageReportGroups">
<mvcSiteMapNode title="Add Report Group" controller="Reports" action="AddReportGroup"/>
<mvcSiteMapNode title="Edit Report Group" controller="Reports" action="EditReportGroup" preservedRouteParameters="id"/>
</mvcSiteMapNode>
<mvcSiteMapNode title="Edit Report" controller="Reports" action="EditReport" preservedRouteParameters="id" >
<mvcSiteMapNode title="Run Report" controller="Reports" action="RunReport" preservedRouteParameters="id"/>
</mvcSiteMapNode>
</mvcSiteMapNode>
</mvcSiteMap>
Only first breadcrumb display perfectly, I tried these links
http://stackoverflow.com/questions/7350567/mvc-3-sitemap-provider-multiple-paths-pointing-to-same-node
http://stackoverflow.com/questions/19953616/mvcsitemapprovider-multiple-paths-to-the-single-
page/19967995#19967995
What is the parent key, route, key.
Reply
Answers (
0
)
How to Upload file to DropBox in MVC or ASP.net with c#
About Telerik RadEditor