trying to make the sample work
No image shows in the ad just a tiny red X
and the Words "Travel page"
What do I need to do? or where do I ned to put the image?
this is the XML they gave
this is the Page load event
TIA
DougP, MCP, A+
No image shows in the ad just a tiny red X
and the Words "Travel page"
What do I need to do? or where do I ned to put the image?
this is the XML they gave
Code:
<?xml version="1.0" encoding="utf-8" ?>
<Advertisements xmlns="[URL unfurl="true"]http://schemas.microsoft.com/AspNet/AdRotator-Schedule-File">[/URL]
<Ad>
<ImageUrl>msaui.gif</ImageUrl>
<NavigateUrl>[URL unfurl="true"]http://www.microsoft.com</NavigateUrl>[/URL]
<AlternateText>Home Page</AlternateText>
<Keyword>HomeSites</Keyword>
<Impressions>80</Impressions>
</Ad>
<Ad>
<ImageUrl>msaui2.gif</ImageUrl>
<NavigateUrl>[URL unfurl="true"]http://www.margiestravel.com/</NavigateUrl>[/URL]
<AlternateText>Travel page</AlternateText>
<Keyword>TravelSites</Keyword>
<Impressions>80</Impressions>
</Ad>
</Advertisements>
Code:
' It's taken from <keyword> of xml file to filter the image.
' Allows only Travel sites to be displayed in the rotator.
AdRotator1.AdvertisementFile = "adfile.xml"
AdRotator1.KeywordFilter = "TravelSites"
AdRotator1.Visible = True
TIA
DougP, MCP, A+