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 ?
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.
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 ?
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
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.
is working on a reply...