Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • philous 2 posts 22 karma points
    Jan 10, 2013 @ 16:22
    philous
    0

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies