Umbraco MVC: Templates as views and rendering actions
Hi!
I have a document type Project, that has three sections: Media, Information and Credits. In a normal MVC application, what I would do is create a three views and three action methods in controller for each section. Then in on the webpage I would simply put Html.ActionLink method and render the section I want...
What is the best approach for that in umbraco? I know that I can use views as templates, this is cool, but I can't generate ActionLink for RenderMvcController, I can only do it for SurfaceController, that is not thought to be used with document types. Do I really need to create separate page for each project section?
Umbraco MVC: Templates as views and rendering actions
Hi!
I have a document type Project, that has three sections: Media, Information and Credits. In a normal MVC application, what I would do is create a three views and three action methods in controller for each section. Then in on the webpage I would simply put Html.ActionLink method and render the section I want...
What is the best approach for that in umbraco? I know that I can use views as templates, this is cool, but I can't generate ActionLink for RenderMvcController, I can only do it for SurfaceController, that is not thought to be used with document types. Do I really need to create separate page for each project section?
Any advice?
Thanks,
Phil
is working on a reply...