473,503 Members | 1,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

2.0 SIMPLE PROBLEM: asp:Rotator

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/
Apr 14 '06 #1
1 1308
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.

--
( OHM ) - One Handed Man
AKA Terry Burns - http://TrainingOn.net
"R.A.M." <r_********@poczta.onet.pl> wrote in message
news:s7********************************@4ax.com...
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/

Apr 14 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2081
by: Jeff Uchtman | last post by:
Has anybody found a simple, no zone, banner ad management app? I just want click through and a start stop date function. I have see everything from soup to nuts on ad management form $10.00 to...
0
1068
by: robert | last post by:
Hi Im stuck with an Ad Rotator problem. I'd be grateful to any assistance. Robert. Here's my code:
2
348
by: apchar | last post by:
I have a simple ad rotator that's driving mozilla and netscape a little crazy. You know that symbol in the upper right corner of the browser that animates while a page is downloading and is...
2
2131
by: Bredahl jensen | last post by:
Hello, Where can i find a dynamic content rotator. The asp.net server control only show the next content when page has refreshed. But this is boring to me. I'm not the javascript /dhtml expert...
4
1505
by: | last post by:
I have used my first aspx page on our site to utitlize the Ad Rotator component. However, I note that my traditional asp 3.0 code generations compilation errros (eg Let and Set not allowed in...
3
1643
by: Mark A. Sam | last post by:
Hello, Does anyone know of a third party ad rotator that automatically changes the images? It seems like the ad rotator in that comes with Visual Web Developer changes images only when the...
0
1229
by: Mat | last post by:
ASP:Rotator It would be nice to have an expire date in the XML input to the banner rotator. so you dont have to remove an entry to it at a certain date
2
2906
by: Muhammad Ahsin Saleem | last post by:
Hi EveryBody, Well I need your help about the Add Rotator. I want to set the Advertisement File property of the Add Rotator set to an XML File which contains info about the Adds. Now Problem...
0
7188
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7063
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7313
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7441
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4987
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3146
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1489
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
366
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.