html - Add âselectedâ Class to the Menu Item - MVC -
I'm missing this tutorial () How to add the "selected" class to the menu in MVC, in other words it The tutorial shows how to create a Navigator menu in MVC, when you click on the Nave button it remains selected. But when I am writing this code My Visual Studio 2012 shows an error in this area And it says the identifier is expected? What identifier? OK, I solve it ... This code: Rewrite to: now it works :) using
to & lt; Span class = "skimlinks-unlinked" & gt; System Web & lt; / span & gt; & Lt; Span class = "skimlinks-unlinked" & gt; System.web.mvc & lt; / Span & gt; by using; Namespace & lt; span class = "skimlinks-unlinked" & gt; AdminRole.HtmlHelpers & lt; / Span & gt; {...}
& lt; Using span class = "skimlinks-unlinked" & gt; System Web & lt; / Span & gt; & Lt; span class = "skimlinks-unlinked" & gt; System.web.mvc & lt; / Span & gt; by using; Namespace & lt; span class = "skimlinks-unlinked" & gt; AdminRole.HtmlHelpers & lt; / Span & gt;
System. Using the web; Using System.Web.Mvc; Namespace AdminRole.HtmlHelpers
Comments
Post a Comment