Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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.