How to link one Document type template to another document type template
In my LoginController:SurfaceController after successful login it should render the HomePage but Its not redirecting to HomeController whose documentType is different and if redirect then it doesnot render the strongly types view .
Is there any solution ?
In Login controller action Login return View like this
List<IPublishedContent> list=CurrentPage.Children.ToList();
RenderModel model = new RenderModel(list[0]);
return View(@"~/Views/Home.cshtml",@"~/Views/HomeLayout.cshtml",model);
How to link one Document type template to another document type template
In my LoginController:SurfaceController after successful login it should render the HomePage but Its not redirecting to HomeController whose documentType is different and if redirect then it doesnot render the strongly types view . Is there any solution ?
I got way to solve this
In Login controller action Login return View like this
is working on a reply...