Nov 25, 2009 at 4:26 PM

In the MvcSiteMap discussion overview there is a list of HtmlHelper extension methods. One of them is "MenuPinned" to generate a submenu. I can't find any reference to this helper method in the sample project. Am I missing something? I would really like to understand how to generate and display submenus.


Feb 22, 2010 at 2:39 PM

You can specify that you want to display a 2nd level submenu like this:

<%=Html.MenuPinned(2, ...)%>

This means that it will always render the 2nd level in a specific node hierarchy.

Feb 22, 2010 at 2:39 PM

This will be renamed to SubMenu in a next version.