I'm trying to apply this to my sitemap menu and it works from home page.
However, this doesn't work properly from an area controller : when I'm on an area page, the security trimming doesn't seem to work cause all menus are displayed although user is not authorized.
Can you please help me fix this ? Does this have something to do with routing (although deduced urls are correct, using area/controller/action attributes in the xml sitemap) ?
Here is what my RouteConfig.vb looks like :
, .action =
, .id = UrlParameter.
Also, the hideparent property is working only with the closest parent, but not with higher level parents. I think this is a bug. Can you please help me with a workaround ?
Thanks and regards.