Need help figuring this out
Hi :wave:
I'm having trouble with a adrotator - it shows my pictures and alt just fine, but it tells me the "resource cannot be found" for the pdf its suppose to open.:confused:
Code:
<Advertisements>
<Ad>
<ImageUrl>~/trees/_americanbeech.jpg</ ImageUrl>
<NavigateUrl>~/pdf/American Beach.pdf</ NavigateUrl>
<AlternateText>American Beech image courtesy of forestryimages.com </AlternateText>
<Keyword>Group1</Keyword >
<Impressions>30</Impressions >
</Ad>
.......more
</Advertisements>
Not sure if I'm doing something wrong. Any ideas
thank you
Re: Need help figuring this out
try pulling the tilde out (~)
Re: Need help figuring this out
kayos
Thanks. You know I tried about everything & spent most of this morning working on this thing:mad:
but I got it to work!
Here's what finally worked - assigning the navigateUrl in the AdCreated event:
Code:
e.NavigateUrl = e.AdProperties.Item("NavigateUrl")
Why? I have no idea!:)
thanks again
-claire