Using the AdRotator Control

Now that you have had a chance to explore master pages and site navigation controls, you will learn about another control from the Standard group of the Toolbox panel—the AdRotator control. This control uses the information in an XML file to display advertising banners in an ASP.NET page.

For this exercise, you will add the banner to the master page, ensuring that the banner will display in all the pages that are based on it. Like the menu control, you will put the AdRotator inside a ContentPlaceHolder control in the master page so that users can change it on a page-by-page basis, if necessary.

Insert an ASP.NET AdRotator control and modify its XML information file


Use the Chapter9.html page of the SampleSite site ...

Get Microsoft® Expression® Web 4 Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.