O'Reilly logo

Microsoft® Office SharePoint® Designer 2007 Bible by Vikram Kartik

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

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, ...

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