Monday, February 6, 2012

how to get rid of the influence of the master page in a Razor view

@{

   ViewBag.Title = "Unsupported Browser";

   Layout = null;

}

<h1>@ViewBag.Title</h1>

No comments:

Post a Comment