by Dino Esposito MS Press
There are techniques for master pages to modify/improve their behavior based on the requirements of an ASP.NET project. This post shows how to nest one master page inside another.
In the following picture, the first line is written in a master page that is used as the top level master page, the second line is written in a nested master page (level 2) and the third line and the title of the page are written in an aspx file that uses our nested master page as it master page:
The source in the top level master page called MP_Level1:
The source in the nested master page called MP_Level2_No1:
And this is the source of the aspx file:
No comments:
Post a Comment