How to use the sitemappath with MVC if there is an id in the url?

amit123a

New Member
I have a MVC application and use a SiteMapPath. Everything is working fine, till there are some variables send to the url:For example, this url works fine: \[code\]/Controller/Action\[/code\]But when I have this: \[code\]/Controller/Action/3\[/code\] the SiteMapPath is broken. When I copy this url in my Web.sitemap, it is working. Off course this is not what I want.So, is there some workaround for this problem? Maybe using a wildcard? \[code\]/Controller/Action/\[/code\]?
 
Back
Top