Copied to clipboard

Flag this post as spam?

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


  • Anjali Sharma 4 posts 74 karma points
    Dec 08, 2017 @ 07:22
    Anjali Sharma
    0

    Linking different templates

    I am new to Umbraco and trying to make simple website but only able to create single pages not able to link templates of different document type I use d surface controller and RenderMvc for rendering strongly typed views. Is there any sample website using umbraco which uses strongly typed views, action links and controllers ?

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Dec 08, 2017 @ 15:32
    Alex Skrypnyk
    0

    Hi Anjali

    Welcome to our forum!

    Why do you need surface controllers?

    Did you go through Umbraco tutorials - https://our.umbraco.org/documentation/tutorials ?

    Thanks,

    Alex

  • Anjali Sharma 4 posts 74 karma points
    Dec 11, 2017 @ 14:59
    Anjali Sharma
    0

    yes ,Actually I was thinking that to link templates we have to use controller but it can be done using NiceUrl in umbraco.

    Thanks for help.

    In my site there is Login page and after successful login it should show the home page and for that one I have created LoginSurfaceController which checks username and password but I am not getting how to return Viewpage through View() method. Can you give me any solution over that. as my document type will change from login to home.

Please Sign in or register to post replies

Write your reply to:

Draft