I am using a "_leftPanel" Partial view which contains four navigation links
"_leftPanel" Partial view code:
<div class="leftPanelStyle leftPanelSize">
@Html.ActionLink("link1","Index","Display1")
@Html.ActionLink("link2","Index","Display2")
@Html.ActionLink("link3","Index","Display3")
@Html.ActionLink("link4","Index","Display4")
</div>
on clicking the button when user is redirected from home page to the next action "link1" , I want all links to be in a disabled mode.
when the user is redirected to the second action "link2" on clicking a "submit" button in "link1" page, I want only "link1" to be in an enabled state while rest in disable mode. So that if user wants to change any entered value, then can navigate to the first link("link1") while in "link2"
similarly for the "link3" and "link4"
Once the user clicks the submit button on "link4" action, in the final page all the links should be in enable mode.
Any help would be genuinely appreciated