By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,586 Members | 623 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,586 IT Pros & Developers. It's quick & easy.

AdRotator in ASP.Net

P: 95
With AdRotator adrvertisements keep changing........
I write the below code no error is there but two pictures are not displayed simultaneously and even they are not moving....
When we execute the below code.One picture is displayed...and when we refresh the page then the second picture is displayed.......


<html>
<form runat ="server>
<asp:AdRotator id="AdRotator1" runat="server"
Target="_self"
AdvertisementFile="Ads.xml"/>
</form>
</html>


<Advertisements>

<Ad>
<ImageUrl>Images/cash.jpg</ImageUrl>
<NavigateUrl>MailDescription.aspx</NavigateUrl>
<AlternateText>Microsoft Main Site</AlternateText>
<Impressions>80</Impressions>
<Keyword>Topic1</Keyword>
<Caption>This is the caption for Ad#1</Caption>
</Ad>

<Ad>
<ImageUrl>Images/ladki.jpg</ImageUrl>
<NavigateUrl>soniayahoo.aspx</NavigateUrl>
<AlternateText>Wing Tip Toys</AlternateText>
<Impressions>80</Impressions>
<Keyword>Topic2</Keyword>
<Caption>This is the caption for Ad#2</Caption>
</Ad>

</Advertisements>

Please tell me how it is done to rotate two pictures simultaneouly...
Feb 13 '08 #1
Share this Question
Share on Google+
2 Replies


P: 22
hai baby i am M.S.Reddy form India.....................


Example AdRotator :-


<Advertisement >


<Ad>
<Imageurl> Reddy.gif </Imageurl>
<Navigateurl>www.myreddy.com</Navigateurl>
<AlternateText>ReddyLog</AlternateText>
<Impression>90</Impression>
</Ad>


<Ad>
<Imageurl> s.gif </Imageurl>
<Navigateurl>www.shubcall.com</Navigateurl>
<AlternateText>shubcallLog</AlternateText>
<Impression>90</Impression>
</Ad



</Advertisement >


Try Baby ....................
Feb 14 '08 #2

P: 95
hai dear THX me also from India..........
U have write the same material which i have already used...Insted of impressions u write impression.

Not working,same o/p
Feb 14 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.