Apr 8, 2009 at 9:24 AM
Edited Apr 8, 2009 at 9:35 AM
Hello, nice project!
I have added the following code to Site.Master file from Your sample project:

=Html.Menu("", "selectedMenuItemCssClass", new { id = "menu" })%>

and then in Site.css file the code: 

{ border: 1px solid red;}

When I click the link Products in main menu in web browser, the link have red border and this is ok, but when I click link Books (the url addresss in web browser is like this: http://localhost/Products/List/Books) the link Products lost the border. Would it be possible to main menu remember the current main cathegory (Products) and assign correct style from css for <li> tag?

Sorry my english.
Best regards. 
Apr 10, 2009 at 7:36 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.