Asp.Net MVC: How to determine if you're currently on a specific view
- by Jim Geurts
I need to determine if I'm on a particular view. My use case is that I'd like to decorate navigation elements with an "on" class for the current view. Is there a built in way of doing this?