Explain AdRotator control.

 Posted by Bhakti on 11/17/2009 | Category: ASP.NET Interview questions | Views: 4913

AdRotator control is used to present ad images clicking which we can navigate to another web location. With each page load,ad image can be selected randomly or in specified order from predefined well formatted XML document.
Well formatted XML document(Advertisement File) contains required information for the image that needs to be displayed.

Elements of the Advertisement File:
ImageUrl: Advertisement Image URL(Absolute/relative)
NavigateUrl: Destination web location where user needs to be directed when he clicks the image (if NavigateUrl is not set then image is not clickable)
AlternateText: [Optional parameter]Text when the user moves mouse pointer over the image
Keyword: [Optional parameter] Keyword
Impressions: [Optional parameter] Number indicating weight of the ad in the order of rotation with respect to other ads in the file

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response