I am developing an ASP.NET MVC 3 application whose content pages share a common layout element structure. However, since the login page does not match this location, I cannot place this layout in \Views\Shared\_Layout.cshtml .
So, I would like to add another general layout, say \Views\Shared\_Content.cshtml , and call it from the content views ... but, unfortunately, these views belong to different controllers.
Is there a way to call @Html.Partial for a view owned by another controller?
pyon May 19 '11 at 2:40 pm 2011-05-19 14:40
source share