ASP.NET version of “Ad Rotator”

Posted: October 14, 2008 in ASP.Net

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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s