3 Requests: Starting Node + Route Based URLs + Visible Nodes

Apr 2, 2009 at 4:10 PM
Hi Maarten,

3 Requests:

  1. At your Helper Menu, a property to specify the starting node level (ex.: for a 2º level left menu). It will just show 2nd level menu Items if a 1st level is current node.
  2. At SiteMapNode an attribute that specify if it will be visible, so that Menu Helper don't show this nodes (sometimes we want that a Action Method just shows in BreadCrumb but not at Menu);
  3. Generate your URL's like URL.Action() do. Sometimes, we have custom routes that don't map "directely" Controller and Action methods. For example, I have a controller "ProductsController" and a action method "CreateByFile", but my route is: "Products/Add/ByFile". If I ask URL.Action("CreateByFile", "Products") it will give me "Products/Add/ByFile". Your SiteMapProvider gives me "Products/CreateByFile".

Thank You.

Apr 2, 2009 at 4:14 PM