ASP.NET 2.0 Tutorials
Tutorials
ASP.NET 2.0ASP.NET 2.0 Tutorials : Creating Content for Master Page
Table of Contents
ASP.NET 2.0 Tutorials : Creating Content for Master Page
ASP.NET 2.0 Tutorials : Creating Content for Master Page - Page 2ASP.NET 2.0 Tutorials : Creating Content for Master Page - Page 2
.
.

5. Press ENTER to create a new blank line in the Content control, and then type Thank you for visiting our site.

The text you add here is not important; you can type any text that will help you recognize this page as the home page.
6. Save the page.
Now create the about page following the steps detailed above. The finished page will look like this.
Testing the Pages 1. Switch to the Home.aspx page, and then press CTRL+F5. ASP.NET merges the content in the Home.aspx page with the layout in the MasterPage.master page into a single page and displays the resulting page in the browser. Notice that the URL of the page is Home.aspx; there is no reference in the browser to the master page.


2. Click the About menu item.
The About.aspx page is displayed. It is likewise merged with MasterPage.master page.
First Page: ASP.NET 2.0 Tutorials : Creating Content for Master Page
