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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here what i am using. I think this is actually generated by the MVC project template in VS: