Subscribe to Subscribers
Talk to Webmaster Tony John


Forums » .NET » ASP.Net MVC »

How can i switch over to one layout to another layout programatical in MVC3 razor engine


Posted Date: 24 May 2012      Posted By:: Srinivas Nimmmanagottu     Member Level: Silver    Member Rank: 1648     Points: 2   Responses: 0



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

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

Here i want switch over one layout page to another layout page in programatically

in MVC3 razor engine




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Post Reply
You must Sign In to post a response.

Next : How to create a simple "Hello World" using ASP.NET MVC template?
Previous : Many to many relationships in ASP MVC
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.