How can we navigate from one view to another ?

Total Post:135

Points:949
 2181  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. 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 Apr-11-2018 06:04:51 AM
  1. 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