My layout is included in my partial view, and when it is i get a blank page. My partial view is visible only when i set the layout to null. In my partial view i have included the layout like the code below.

   @{ 
    Layout = "~/Views/Shared/_Layout.cshtml";
   } 

Related posts

Recent Viewed