I am using MVC5 on ASP.NET using Visual Studio 2013 Community Edition. I wanted to create nested layout pages for my view. For ex:

The hierarchy is as follows:

_Layout.cshtml > Template1.cshtml > FinalPage.cshtml

But what I am confused is how do I load data on the page - Template1.cshtml when I am loading the model and the controller calls FinalPage.cshtml.

Will it load by default without any changes?

Related posts

Recent Viewed