O'Reilly logo

Microsoft® Expression® Web 4 Step by Step by Chris Leeds

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

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

Note

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

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