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 Only first breadcrumb display perfectly, I tried these links
<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>
page/19967995#19967995
What is the parent key, route, key.
Answers
Know the answer? Post it. Somebody with the same question will find it here.