Asp.Net MVC: How to determine if you're currently on a specific view

Posted by Jim Geurts on Stack Overflow See other posts from Stack Overflow or by Jim Geurts
Published on 2008-09-02T20:27:28Z Indexed on 2010/04/30 15:07 UTC
Read the original article Hit count: 181

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc