D
Dan
Hi,
I created an AdRotator control with this code:
<asp:AdRotator id="AdRotator1"
Runat="Server" AdvertisementFile="adrotator.xml">
</asp:AdRotator>
The xml file contains:
<Advertisements>
<Ad>
<ImageUrl>images/pic1.png</ImageUrl>
<NavigateUrl>http://www.cocacola.us</NavigateUrl>
<AlternateText>Coca Cola</AlternateText>
<Keyword>coca</Keyword>
<Impressions>50</Impressions>
</Ad>
<Ad>
<ImageUrl>images/pic2png</ImageUrl>
<NavigateUrl>http://www.alfaromeo.us</NavigateUrl>
<AlternateText>Alfa Romeo</AlternateText>
<Keyword>alfa</Keyword>
<Impressions>50</Impressions>
</Ad>
</Advertisements>
When running, i see the first advertising, but the second advertising never
appears. Do i need some codebehind code to switch from advertisings or it
must happen automatically?
Thanks
Dan
I created an AdRotator control with this code:
<asp:AdRotator id="AdRotator1"
Runat="Server" AdvertisementFile="adrotator.xml">
</asp:AdRotator>
The xml file contains:
<Advertisements>
<Ad>
<ImageUrl>images/pic1.png</ImageUrl>
<NavigateUrl>http://www.cocacola.us</NavigateUrl>
<AlternateText>Coca Cola</AlternateText>
<Keyword>coca</Keyword>
<Impressions>50</Impressions>
</Ad>
<Ad>
<ImageUrl>images/pic2png</ImageUrl>
<NavigateUrl>http://www.alfaromeo.us</NavigateUrl>
<AlternateText>Alfa Romeo</AlternateText>
<Keyword>alfa</Keyword>
<Impressions>50</Impressions>
</Ad>
</Advertisements>
When running, i see the first advertising, but the second advertising never
appears. Do i need some codebehind code to switch from advertisings or it
must happen automatically?
Thanks
Dan