HOW CAN WE NAVIGATE FROM ONE VIEW TO ANOTHER ?

Anupam Mishra

Total Post:135

Points:949
Posted by  Anupam Mishra
 1597  View(s)
Ratings:
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.
  1. Manoj Bhatt

    Post:154

    Points:1086
    Re: How can we navigate from one view to another ?

    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
    @Html.ActionLink(
                linkText: "GoToDetails",
                actionName: "Details",
                controllerName: "Home",
    ...................)

      Modified On Feb-14-2016 11:22:18 PM
  1. Hari Gorinta

    Post:1

    Points:7
    Re: How can we navigate from one view to another ?

    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!