programming we consider all important topic for knowledge about controls,web Services, JSON, Ajax, database, and interview related Question. In this and sql server tutorial blog we give many examples of jquery as like How Play YouTube Video in Your Website by URL, How to Play YouTube Videos in by using Jquery , Jquery Change div background on mouseover in , JQuery UI Datepicker (Calendar) etc.

Sunday, June 4, 2017

AdRotator control in

ASP.NET-AdRotator control:

The AdRotator control randomly selects banner graphics from a list, which is specified in an
external XML schedule file. This external XML schedule file is called the advertisement file.
The AdRotator control allows you to specify the advertisement file and the type of window that the link should follow in the AdvertisementFile and the Target property respectively.
The basic syntax of adding an AdRotator is as follows:

<asp:AdRotator runat = "server" AdvertisementFile = "adfile.xml" Target = "_blank" />
Before going into the details of the AdRotator control and its properties, let us look into the
construction of the advertisement file.

The Advertisement File

The advertisement file is an XML file, which contains the information about the advertisements tobe displayed.

Extensible Markup Language XML is a W3C standard for text document markup. It is a text-basedmarkup language that enables you to store data in a structured format by using meaningful tags.

The term 'extensible' implies that you can extend your ability to describe a document by defining meaningful tags for the application.

XML is not a language in itself, like HTML, but a set of rules for creating new markup languages. It is a meta-markup language. It allows developers to create custom tag sets for special uses. It structures, stores, and transports the information.

Following is an example of XML file:

<NAME> Learn XML </NAME>
<PUBLISHER>parijat.blogspot./ </PUBLISHER>
<PRICE> $10.00</PRICE>

Like all XML files, the advertisement file needs to be a structured text file with well-defined tags
delineating the data. There are the following standard XML elements that are commonly used in
the advertisement file: related other post:

·                     Understanding controllers in MVC
·                     Action Method in MVC Controller
·                     Controllers and Action Methods in ASP.NET MVC Appl...
·            Step By Step Working with MVC3
·            with c# example - datetime day of week
·            web Development related Important Post Li...
·                     Why the web.cofig file is very important (The Role...
·                     Validate a date using RangeValidator in c#...
·                     Example of PlaceHolder Server Control
·            PlaceHolder Server Control
·                     C# Coding Conventions (C# Programming Guide)
·                     List of Coding Standard guidelines/checklists for ...
·                     What is the best way to create HTML in C# code
·                     Display Data in HTML Table from Database using Asp...
·                     Templates in DataList Control
·                     Introduction of Datalist Control

·                     How to bind asp datalist control dynamically

No comments:

Post a Comment