Moss drip (3): Talking about master pages in Moss

Source: Internet
Author: User

There are two types of pages in Moss: Site pages and application pages, which use different master pages, and site pages use the

Default.master, application pages use the Application.master. The main focus of our discussion here is

Default.master, because Application.master is not supported by customization.

Default.master the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\template\global\ directory in the installation directory, The relative path referenced in the site is/_catalogs/masterpage/default.master. In Moss

Master Pages can be nested: <%@ master Master=myparent.master%>. You cannot add WebPart areas, but you can add static

State of Wetpart.

The master page has the following main sections:

1. Links, menus, icons, and navigation controls.

Moss has provided us with a lot of encapsulated controls, such as SPWebPartManager, navigation controls, and so on.

2. Placeholder (Named placeholds)

We can use placeholders to add content to pages that inherit from Default.master, and here's an example.

3. Delegate controls

The word is not translated and can be used to replace the contents of the master page.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.