0 evaluări0% au considerat acest document util (0 voturi)
9 vizualizări5 pagini
The document describes an AD ROTATOR CONTROL that is used to place advertisements on a webform. It specifies an advertisement XML file structure containing tags for image URL, navigation URL, alternate text, and impressions to determine ad frequency. The calendar control can display dates in a table and supports customizing day rendering through the DAYRENDER event, which provides access to the table cell and date. Literal controls should be used to add strings to other controls.
The document describes an AD ROTATOR CONTROL that is used to place advertisements on a webform. It specifies an advertisement XML file structure containing tags for image URL, navigation URL, alternate text, and impressions to determine ad frequency. The calendar control can display dates in a table and supports customizing day rendering through the DAYRENDER event, which provides access to the table cell and date. Literal controls should be used to add strings to other controls.
Drepturi de autor:
Attribution Non-Commercial (BY-NC)
Formate disponibile
Descărcați ca PPT, PDF, TXT sau citiți online pe Scribd
The document describes an AD ROTATOR CONTROL that is used to place advertisements on a webform. It specifies an advertisement XML file structure containing tags for image URL, navigation URL, alternate text, and impressions to determine ad frequency. The calendar control can display dates in a table and supports customizing day rendering through the DAYRENDER event, which provides access to the table cell and date. Literal controls should be used to add strings to other controls.
Drepturi de autor:
Attribution Non-Commercial (BY-NC)
Formate disponibile
Descărcați ca PPT, PDF, TXT sau citiți online pe Scribd
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.