In my project, there are five navigation links, represented using @html.ActionLinks as Partial view.Every link represents a different page. When the user is at first page all the links should be disabled
when the user is directed to second page on clicking a button, only first link becomes active and other all links remain inactive.
In every view I am calling this partial view by @html.RenderPartial("_partialViewName")
So how can I change the behavior of ActionLinks dynamically in a controller?