Tuesday, March 19, 2013

Layout = null

The following Razor markup in MVC4 ensures a view will not use _Layout.cshtml as a master page.

@{
   Layout = null;
}

No comments:

Post a Comment