MVC widget with multiple actions
Hello, I hope somebody can help me.
I am trying to create an MVC widget in SiteFinity that has multiple actions/views and some async JSON requests.
I've followed the "MVC Widgets with Multiple Views" tutorial and can't seem to reproduce the same behaviour. My "Index" action works fine, but when I use an Url.Action() or Html.ActionLink() method in the view to build an URL, I get a 404 not found error.
My template is using MVC Hybrid mode.
Thanks in advance for any help.
Chris
hi Chris,
This KB would fix the issue.
Thank you for your reply. Can you post the link?
Thanks,
Chris
I found it, thank you. Problem fixed :)
Article is here: www.sitefinity.com/.../mvc-routing-fails-for-mvc-widgets-in-sitefinity-6.1
Please note: This problem occurs also with HTTP GET requests.
Thank you.
Chris
Hi Chris,
I'm so sorry mate, i thought i had paste the link.
Thanks,
Yitro