Exforsys.com
 
Home Tutorials ASP.NET 2.0
 

ASP.NET 2.0 : Working With Master Pages

 

ASP.NET 2.0 : Working With Master Pages - Page 2

Page 2 of 3



To create a layout table for the master page


1. Switch to Design view.



2. In the Properties window, in the drop-down list at the top, click DOCUMENT, and then set BgColor to a distinctive color, such as blue.



3. It is not important what color you select. Later in this walkthrough you will create a second master page without a color to contrast with what you have selected here.



4. Click in the page where you want to place the layout table.

5. On the Layout menu, click Insert Table.



6. In the Insert Table dialog box, click Template, in the list, click Header, footer and side, and then click OK.



7. The template defines the arrangement of rows and cells in the table.


8. Make the following settings:
..................1. Click the left-most column, and then set its width to 48.
..................2. Click the top row, and then set its height to 48.
..................3. Click the bottom row, and then set its height to 48.


9. The width and height can be set by dragging the table cell borders or by selecting the cell and setting values in the Property window


10. Select each cell, and then set BgColor to a color that will be obvious to you and set VAlign to top.




Once the table layout is complete content can be added to the master page. This is the content that is to appear on all the pages of the website. A copyright message can be added at the footer and a menu. Logos can be added to Header if required.




Next Page: ASP.NET 2.0 : Working With Master Pages - Page 3





 

 

Comments


omprakash said:

  this is good to understood what is master page provide some more information also on the same ... gud wrk..
November 20, 2007, 10:59 pm

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