Home > DeveloperSection > Forums > How can we navigate from one view to another ?
Anupam Mishra

Total Post:135

Posted on    February-14-2016 10:45 PM


 2 Reply(s)
 1562  View(s)
Rate this:
Hi Everyone,
I want to navigate from one view to another view through using hyperlink . Can anyone give me a appropriate solution.
Thank you.

Manoj Bhatt
Manoj Bhatt

Total Post:154

Posted on    February-14-2016 11:21 PM

If we want to navigate from one to another view then we are  using the ActionLink method . The below code will create a simple URL which helps to navigate to the “Home” controller and invoke the Details action.
@ Html.ActionLink("Home","Details")  or
            linkText: "GoToDetails",
            actionName: "Details",
            controllerName: "Home",

Modified On Feb-14-2016 11:22:18 PM

Hari Gorinta
Hari Gorinta

Total Post:1

Posted on    January-15-2017 11:32 PM

I tried it but  when we click on it ,it is first invoking the specified action and then it is again invoking its binded controller and showing the same page

Don't want to miss updates? Please click the below button!

Follow MindStick