In this chapter, we will be using various server controls in our pages.
We will start by adding one of the simplest controls to our homepage:
Open the
share
site in SharePoint Designer.Open the
default.aspx
page in Design view.Make sure that the Standard controls are visible in the Toolbox task pane.
Click on the HyperLink control and drag it onto our page.
Right-click on the control that we have just placed and select Properties from the shortcut menu. This will open the Tag Properties task pane to the left of our design window.
Type
View Orders Graph
into the Text field in the Tag Properties task pane.Click on the ellipsis to the right of the NavigateUrl field and select
orders.aspx
from the list of pages.Finally, save the page.
The following image shows the Properties shortcut menu that we see as we work through this process:
Now, when we open http://olmec/share/
in our browser, we see that the default page links to the Order Graphs
.