How to disable current page links in ASP.NET MVC?
- by rem
I'm investigating ASP.NET MVC now and noticed that in ASP.NET MVC application, which is created by Visual Studio by default, links "Home" and "About" are staying active when the user is on "Home" and "About" page correspondingly, and after clicking on the current page link page is reloading itself.
What is the correct approach to disable link which points to the page, a user is already on?
How to do it without violating ASP.NET MVC approach?