11.3. Exploiting SharePoint Controls

SharePoint Web sites use a number of Web controls on out-of-the-box Web pages. These controls, unlike Web parts, can't be directly inserted on the Web pages by using the SharePoint site user interface. SharePoint Designer provides many of these server controls in the Toolbox task pane for use on Web pages inside SharePoint sites. This section introduces you to the server controls available for use on SharePoint sites.

11.3.1. Working with SharePoint server controls

If you choose Insert SharePoint Controls More SharePoint Controls, you're taken to the SharePoint Controls section in the Toolbox task pane, as shown in Figure 11.12. There are four types of controls available: Data View Controls, Server Controls, Page Fields, and Content Fields.

While you may question the usability of many of the SharePoint server controls listed in the SharePoint controls section of the Toolbox task pane, you can use some of these controls in really intuitive ways. For example, just by inserting the CSSLink server control on a new Web page, you can associate it with the default CSS file being used for a SharePoint Web site.

Figure 11.12. SharePoint Controls in the Toolbox task pane

To use the SharePoint server control AspMenu to gain data from the PortalSiteMapDataSource, ...

Get Microsoft® Office SharePoint® Designer 2007 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.