Articles → ASP .NET MVC → Show view without layout in MVC

Show view without layout in MVC






Create a project




Picture showing the asp.net mvc view with layout

Click to Enlarge




Remove layout from view




@{
ViewBag.Title = "Contact";
Layout = null;
}




Picture showing the asp.net mvc view without layout

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Sunday, January 10, 2016

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250