Monday, 9 February 2009

Starting Master Pages

Click on the images to see full details.

Every page in a SharePoint site now have a master page. This blog above is using the default.master. If you click on the graphic you can see that in blue above the ASPX code is provided the path to a master page. Designer always shows the active master page for any page in this way.

Using the side nav bar you can open the default.master in Designer. You can use designer to make changes to the master page. In the above example I have checked out the master page for editing which shows up with a green check.

In Designer I click on a web part in the master page and see the code that creates it:

SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/

This means that a SharePoint SmallSearchInBox will be inserted in to the site. This code sets a space for a control, which runs on the server, in this case a small default search engine.

You can learn more about delegate controls in WSS here.
Posted by Picasa

No comments:

Post a Comment