08.08.2017 Views

designer

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11 Working with<br />

Master Pages<br />

In this chapter, you will learn how to<br />

✔✔<br />

✔✔<br />

✔✔<br />

✔✔<br />

✔✔<br />

✔✔<br />

✔✔<br />

✔✔<br />

Understand master pages.<br />

Copy and save a master page.<br />

Customize a master page.<br />

Change the default master page.<br />

Manage content placeholders.<br />

Create a Web page from a master page.<br />

Export a master page.<br />

Reset a master page to the site definition.<br />

You have already worked with master pages earlier in this book. For example, in Chapter<br />

4, “Creating and Modifying Web Pages,” you saw that when you use a browser to request<br />

a page from a site, it combines two Microsoft ASP.NET pages: a master page<br />

and a content page. You discovered that when you open a content page in Microsoft<br />

SharePoint Designer 2010, Design view displays the merged page (not only the content<br />

page). You also attached a master page to a newly created page.<br />

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 make<br />

heavy use of master pages to control the general layout of pages within a SharePoint<br />

site. The default master page, usually a file named v4.master, is the master page that<br />

is applied to all pages in your site when you first create the site. When you install<br />

SharePoint 2010, the default master page and other master pages are located on the<br />

Web server. Each master page contains multiple core controls, called ContentPlaceHolder<br />

controls that must be included to display site pages correctly. SharePoint Designer is an<br />

excellent tool to use to customize master pages and manipulate content placeholders.<br />

367

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!