Visual Basic .NET » ASP.NET General Discussion
Moving ads in adrotator -- Ravindra --



Hi,
I am Ravindra,currently doing a project and want to place continusly changing adds in Adrotator.
If anybody know please help...
thanks in advance,
Ravindra

-- Ravindra --



Hi,
I am Ravindra,currently doing a project and want to place continusly changing adds in Adrotator.
If anybody know please help...
thanks in advance,
Ravindra

-- kris --


Hi Ravindra,
The AdRotator control is used to display a sequence of ad images.

This control uses an XML file to store the ad information. The XML file must begin and end with an <Advertisements> tag. Inside the
<Advertisements> tag there may be several <Ad> tags which defines each ad.

The predefined elements inside the <Ad> tag are listed below:

Element Description
<ImageUrl> Optional. The path to the image file
<NavigateUrl> Optional. The URL to link to if the user clicks the ad
<AlternateText> Optional. An alternate text for the image
<Keyword> Optional. A category for the ad
<Impressions> Optional. The display rates in percent of the hits
--------------------------------------------------------------------------------

Properties Property Description AdvertisementFile The path to the XML file that contains ad information

id A unique id for the control KeywordFilter A filter to limit ads after categories OnAdCreated The name of the function to be executed after the creation of the control, before page rendering runat Specifies that the control is a server control. Must be set to
"server"
Target Where to open the URL
http://www.w3schools.com/aspnet/control_adrotator.asp 


-- Ravindra --


thank u kris,
but I want to display the rotating adds on the same web page
thank u

-Ravindra

[Submit Comment]Home