jeevan mummadi

jeevan mummadi

  • NA
  • 157
  • 0

AdRotator control

Apr 14 2008 12:19 AM

i created xml file below one

<?xml version="1.0" encoding="utf-8" ?>

<Advertisements>

<Ad>

<ImageUrl>

C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Water lilies.jpg

</ImageUrl>

<NavigateUrl>http://www.asp.net</NavigateUrl>

<AlternateText>

image1

</AlternateText>

<Keyword>

advertisement one

</Keyword>

<Impressions>

30000

</Impressions>

</Ad>

<Ad>

<ImageUrl>

C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Sunset.jpg

</ImageUrl>

<NavigateUrl>http://www.asp.net</NavigateUrl>

<AlternateText>

image2

</AlternateText>

<Keyword>

advertisement two

</Keyword>

<Impressions>

20000

</Impressions>

</Ad>

</Advertisements>

and i take one adrotator control  add this file to control and i execute this application but image is not appear in application.

<asp:AdRotator ID="AdRotator1" runat="server" AdvertisementFile="~/XMLFile.xml" Height="100px"

Style="z-index: 100; left: 200px; position: absolute; top: 200px" Width="700px" Target ="_self" />

         plz help me any one............

 


Answers (1)