Highlighting the Current Link in a Menu with ASP.NET MVC

added by Matt Honeycutt
8/20/2013 10:47:58 PM

0 Kicks, 47 Views

A fairly-common UX pattern is highlighting the link within a menu that corresponds to the page or section that a user is currently on. This can be done quite easily in ASP.NET MVC. Here’s a simple, strongly-typed extension method that you can drop in.