November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi,
If you just render @Url.Action("Index", "PatientDetails"), what do you end up with then? Also, you shouldn't use a button for navigation, you must use a regular link (a/anchor tag).
If you want to generate a link to public ActionResult Index(PatientDetails currentPage) you should do like this: @Url.Action("Index", new { node = Model.ContentLink }). Episerver is using 'node' internally to route to an action with PageData.
Hi Guys,
I want to navigate to another controller when user click on button, so i using @Url.Action but its not working properly, below you can see my code.
and i also tried with
but i get this error
IIS 10.0 Detailed Error - 404.0 - Not Found
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.{
public ActionResult Index(PatientDetails currentPage)
{
return View(currentPage);
}
}
@{
ViewBag.Title = "Index";
}
This Patient Details Page