2.0 SIMPLE PROBLEM: asp:Rotator

R

R.A.M.

Hello,
Could you help me please with a problem of asp:AdRotator usage? I have
little experience.

On Default.aspx page I have added AdRotator control to display banner
images:

<asp:AdRotator ID="Banner" runat="server"
AdvertisementFile="~/App_Data/Banner.xml" />

Here's Banner.xml:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Advertisements
xmlns="http://schemas.microsoft.com/AspNet/AdRotator-Schedule-File">
<Ad>
<ImageUrl>..\Images\DotNET_360x280_1.jpeg</ImageUrl>
<NavidateUrl>..\Welcome.aspx</NavidateUrl>
<AlternateText>Microsoft .NET 2.0</AlternateText>
<Impressions>1</Impressions>
</Ad>
<Ad>
<ImageUrl>..\Images\DotNET_360x280_2.jpeg</ImageUrl>
<NavidateUrl>..\Welcome.aspx</NavidateUrl>
<AlternateText>Microsoft .NET 2.0</AlternateText>
<Impressions>1</Impressions>
</Ad>
<Ad>
<ImageUrl>..\Images\DotNET_360x280_3.jpeg</ImageUrl>
<NavidateUrl>..\Welcome.aspx</NavidateUrl>
<AlternateText>Microsoft .NET 2.0</AlternateText>
<Impressions>1</Impressions>
</Ad>
<Ad>
<ImageUrl>..\Images\DotNET_360x280_4.jpeg</ImageUrl>
<NavidateUrl>..\Welcome.aspx</NavidateUrl>
<AlternateText>Microsoft .NET 2.0</AlternateText>
<Impressions>1</Impressions>
</Ad>
</Advertisements>

How can I set a time of single image display?

Thank you very much for your answers.
/RAM/
 
O

OHM \( One Handed Man \)

The images will only change each time the page is loaded. The Impressions
Element is a number that indicates the "weight" of the ad in the schedule of
rotation relative to the other ads in the file. The larger the number, the
more often the ad will be displayed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top