O'Reilly logo

Microsoft® SharePoint® Designer 2010 Unleashed by Kathy Hughes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Master Page Tokens

When you attach a master page to an ASPX page and select the existing site, or default, master page, then the page references the site’s master page using a dynamic token:

<%@ Page Language="C#" masterpagefile="~masterurl/default.master" title="Untitled 12"

You can see the master page reference in the page’s code view, where it’s located at the very top of the page. When referencing master pages in SharePoint content pages, dynamic tokens automatically inherit the site’s master page. In other words, if you change the site’s master page via the Web interface or the Master Page Gallery in SharePoint Designer the updated master page automatically applies to content pages including dynamic tokens.

However, if at the time of attaching ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required