erichexter / twitter.bootstrap.mvc

nuget package to make bootstrap easy with mvc4
Apache License 2.0
248 stars 134 forks source link

NavigationViewExtensions does not properly add active css class to active nav list item #92

Open sbatty opened 11 years ago

sbatty commented 11 years ago

Out of the box install to empty template does not add active class to nav list item. Does not highlight current menu item. In CurrentRouteMatchesName() method, html.ViewContext.RouteData.Route always assigns null to namedRoute variable. Still investigating but haven't find solution yet.