Nesting Master Pages
When building a large website, you might need to create multiple levels of Master Pages. For example, you might want to create a single sitewide Master Page that applies to all the content pages in your website. In addition, you might need to create multiple sectionwide Master Pages that apply to only the pages contained in a particular section.
You can nest Master Pages as many levels as you need. For example, Listing 5.5 contains a Master Page named Site.master
, which displays a logo image and contains a single content area. It also contains sitewide navigation links.
Listing 5.5. Site.master
The Master Pages in Listing ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.