08.08.2017 Views

designer

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using a Standard ASP.NET Server Control 465<br />

Edit File<br />

Close<br />

ASP.NET<br />

1. In the Navigation pane, click Site Assets. Click the icon to the left of AdRotator.<br />

xml, and then on the Assets tab, click Edit File in the Edit group.<br />

The AdRotator.xml file opens in the workspace, displaying the XML data needed by<br />

the AdRotator ASP.NET control.<br />

2. Click the Close button, and then click the ASPControls.aspx page tab if the page<br />

is not the active file in the workspace.<br />

3. In the workspace, click the line of text under Welcome to the Wide World<br />

Importers Web site.<br />

4. Select the Insert tab on the ribbon, click ASP.NET in the Controls group, and then<br />

under Standard, click AdRotator.<br />

The AdRotator control is added to the page inside the tags. The On Object<br />

User Interface (OOUI), which is represented by a small arrow, floats just outside the<br />

control, and the Common AdRotator Tasks panel appears.<br />

Note ASP.NET controls must be placed inside a form. SharePoint Designer will<br />

automatically insert ASP.NET controls within tags.<br />

Ellipsis<br />

5. In the Tag Properties task pane, scroll to the Behavior section, and click the plus<br />

sign (+) to expand it if necessary. Click the cell to the right of AdvertisementFile,<br />

and then click the ellipsis button.<br />

6. In the Select XML File dialog box, within your team site, navigate to the Site<br />

Assets library, click AdRotator.xml, and then click Open.<br />

Note If the Select XML File dialog box does not automatically open showing the<br />

contents of your team site, under Microsoft SharePoint Designer, click your team site.<br />

7. In the Tag Properties task pane, click the cell to the right of AlternateTextField,<br />

and type Welcome Advertisements.<br />

8. In the Tag Properties task pane, click the cell to the right of KeywordFilter, type<br />

Shipping, and then press Enter.<br />

Only advertisement images associated with that keyword are displayed.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!