Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using a "_leftPanel" Partial view which contains four navigation links

"_leftPanel" Partial view code:

HTML
<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
Posted
Comments
InbarBarkai 9-Feb-15 9:07am    
Please google it a little.
I just did a small search and found tones of results.
I would have post you a link, but I'm not sure about terms of use here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900