Chapter 22. Using Master Pages to Provide Sitewide Page Templates


In this hour, we will cover

  • Creating a master page

  • Defining editable regions within a master page

  • Associating a newly created page with an existing master page

  • Making an existing page use a master page

  • Adding source code to a master page


Virtually all professionally done websites have a very consistent look and feel across their pages. The common look and feel usually includes both the layout of the page—where various user interface elements appear and how they are oriented with respect to one another—and the fonts, colors, and graphics used within the page. For example, if you visit sports channel ESPN’s website at, you’ll find that regardless ...

Get Sams Teach Yourself ASP.NET 3.5 in 24 Hours, Complete Starter Kit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.