Exforsys.com
 
Home Tutorials ASP.NET 2.0
 

ASP.NET 2.0 Tutorials : Creating Content for Master Page

 

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

Page 2 of 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


Read Next: ASP.NET 2.0: Referencing Master Page Members



 

 

Comments



Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2009 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape