I am using MvcSiteMapProvider only for displaying BreadCrumb on my side. I am having multiple masters (specifically, 27) in my application with CRUD screens. Each master has a controller, with Index, Create, Edit, Detail and Delete action.
I don't want in detail breadcrumb for each action, only controller is enough for me.
E.g
1. Organisation Setup:
- Department Group
* Department
- Project Group
* Project
- etc Groups
Now, when I configure MvcSiteMapProvider xml sitemap, i need something like this
<mvcSiteMapNode title="Department Group" controller="DeptGrp" action="*">
<mvcSiteMapNode title="Department" controller="department" action="*" />
</mvcSiteMapNode>
<mvcSiteMapNode title="Project Group" controller="PrjGrp" action="*">
<mvcSiteMapNode title="Project" controller="project" action="*" />
</mvcSiteMapNode>
But, MvcSiteMapProvider does allow action name to "*". It needs to be specific. How do I configure map just base on controller, when action does have play any significance in node selection, in sitemaphelper to display breadcrumb?
I use this to display breadcrumb
@Html.MvcSiteMap().SiteMapPath()