Ad Rotator Control: Usage: It Is Used To Place The Advertisements On
The document describes an AD ROTATOR CONTROL and calendar control. The AD ROTATOR CONTROL is used to place advertisements on a webform and references an XML advertisement file structure. The calendar control is used to place a calendar on a webform and can be customized using the DAYRENDER event to modify individual calendar days. Both controls require specifying properties and following certain formatting standards.
Download as PPT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
165 views
Ad Rotator Control: Usage: It Is Used To Place The Advertisements On
The document describes an AD ROTATOR CONTROL and calendar control. The AD ROTATOR CONTROL is used to place advertisements on a webform and references an XML advertisement file structure. The calendar control is used to place a calendar on a webform and can be customized using the DAYRENDER event to modify individual calendar days. Both controls require specifying properties and following certain formatting standards.
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 5
AD ROTATOR CONTROL
Usage: It is used to place the advertisements on
the webform. – Note : It is CASE SENSITIVE FILE PROPERTIES: Advertisement File specify the name of the file which maintains the information about advertisements Target used to specify the target window where the advertisement should be displayed. – Note: Advertisement file is an XML file and hence the contents and the tags of the file is case sensitive. Structure of an Advertisement <Advertisments> <Ad> <ImageUrl>____________ </ImageUrl> <NavigateUrl>__________ </NavigateUrl> <AlternateText>________ </AlternateText> <Impressions>__________</Impressions> </Ad> <Ad> <ImageUrl>____________ </ImageUrl> <NavigateUrl>__________ </NavigateUrl> <AlternateText>________ </AlternateText> <Impressions>__________</Impressions> </Ad> </Advertisments> Advertisements it is a tag which informs that XML file is an advertisement file. Ad it is a tag which informs that the below information will relate to a single advertisement. ImageUrl used to specify the image to be displayed as the advertisement. NavigateUrl used to specify the Url to be navigated if the user clicks on the advertisement. AlternateText specify the text to be displayed if the image specified at the URL doesn’t display. – Note if the image is displayed then the alternate text will act like a tooltip. Impressions it is used to specify the importance of the advertisement. Where the value for the impressions should be specified between 1-100. – Note: if the impression value is more than then that advertisement will be displayed very frequently. – If the impression value are same for the advertisement placed in the file then the advertisement will be picked randomly. Calendar Control Usage: It is used to place the calendar on the webform
– Note: Place the calendar control and
right click on it and select autoformat to provide a better look and feel for the control Points to remember about calendar control Calendar control can be considered as a collection of table cells Where every table cell will maintain the information about the days as a calendar day in the format of a link button control When ever the calendar days has to be customized based on the requirement of the user DAYRENDER event should be used. Every event handler in the dot net tech will accept two arguments 1st one being object and the 2nd one is eventArguements – I.e. DayRender(Object,eventArguements) Event Arguments of DayRender event will provide – e.cell -> to refer table cell – e.day -> to refer calendar day In order to add a string value as a control to any other control “Literal Control” Should be used.