0% found this document useful (0 votes)
4 views2 pages

AdRotator Control

The document outlines the implementation of an AdRotator control in an ASP.NET web application. It includes a sample ASPX page that references an XML file containing advertisement details such as image URLs, navigation links, alternate text, impressions, and keywords. The AdRotator is designed to display rotating advertisements based on the provided XML configuration.

Uploaded by

dhruvmasala4444
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

AdRotator Control

The document outlines the implementation of an AdRotator control in an ASP.NET web application. It includes a sample ASPX page that references an XML file containing advertisement details such as image URLs, navigation links, alternate text, impressions, and keywords. The AdRotator is designed to display rotating advertisements based on the provided XML configuration.

Uploaded by

dhruvmasala4444
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

AdRotator Control

Insert images

AdRotator Control

[Link]
<%@ Page Language="VB" AutoEventWireup="false"
CodeFile="[Link]" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"[Link]

<html xmlns="[Link]
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<center >
<h2>AdRotator Control</h2>
<asp:AdRotator ID="AdRotator1" runat="server"
AdvertisementFile="~/[Link]" Target="_blank" />
</center>
</div>
</form>
</body>
</html>

[Link]

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


<Advertisements>
<Ad>
<ImageUrl>[Link]</ImageUrl>
<NavigateUrl>[Link]
<AlternateText>Advertisement 1</AlternateText>
<Impressions>5</Impressions>
<Keyword>flowers</Keyword>
</Ad>
<Ad>
<ImageUrl>[Link]</ImageUrl>
<NavigateUrl>[Link]
<AlternateText>Advertisement 2</AlternateText>
<Impressions>2</Impressions>
<Keyword>gifts</Keyword>
</Ad>
</Advertisements>

You might also like