Book Image

SharePoint Designer Tutorial: Working with SharePoint Websites

By : Mike Poole
Book Image

SharePoint Designer Tutorial: Working with SharePoint Websites

By: Mike Poole

Overview of this book

Table of Contents (17 chapters)
SharePoint Designer Tutorial
Credits
About the Author
About the Reviewer
Preface
Index

The Menu Control


One of the most popular controls at our disposal is the Menu control. This allows us to add a navigation menu to the pages of our site to allow users to move from one page to another.

The Menu control is particularly useful because it can be populated by a data source. In this way, we could automatically display all the wines in our product range (we could even have a red wine menu button with all the red wines as a submenu and likewise with the white wines).

For our example, we will stay with the default.aspx page and add a menu control beneath our link to the graph page:

  1. Drag a Menu control from the Navigation group in the Standard controls in the Toolbox onto the default.aspx page beneath the existing link.

  2. The Common Menu Tasks options will automatically open for us. We will click on Edit Menu Items.

  3. This brings up the Menu Item Editor, which allows us to add our links to the menu.

  4. We will add our first link by clicking on the Add a root item button (which is the first...