Pages

Monday, April 13, 2009

ASP.NET version of "Ad Rotator"

This sample illustrates the basics of how to use the ASP.NET Ad Rotator control. The control is quite simple and even if you're not actually serving advertisements it's a great way to rotate the display of other images as well.

Hint: If you're using it to display images that you don't want to be hyperlinked, simply remove the NavigateUrl elements from your AdvertisementFile.

Here's a zip file of the code along with the sample AdvertisementFile and images (14 KB).

Play with the running version.

View the live source code.

No comments:

Post a Comment