System.Web.UI.WebControls Namespace AdCreatedEventArgs Class
Sets or retrieves the URL of the Web page to display when the AdRotator is clicked.
Script |
AdCreatedEventArgs.ImageUrl [ = strFilePath ] |
strFilePath |
The absolute or relative path of the Web page to display. |
The property is read/write with no default value.
Use the NavigateUrl property to specify the URL of the Web page to display when the user clicks on the advertisement displayed in the AdRotator.
A common use for this property is to redirect the navigation to a page that can count the number of times the user clicked the advertisement before proceeding to the destination URL.
The AdRotator automatically sets this property with the corresponding entry in the XML AdvertisementFile containing advertisement information. This property may also be set programmatically to override the value contained in the XML file.
AdCreatedEventArgs Members AdCreatedEventHandler AdRotator