System.Web.UI.WebControls Namespace AdCreatedEventArgs Class
Sets or retrieves the alternate text displayed in the AdRotator control.
Script |
AdCreatedEventArgs.AlternateText [ = strText ] |
strText |
String specifying the text displayed in place of the advertisement image if the image is not available. |
The property is read/write with no default value.
Use the AlternateText property to specify the text to display if the image specified in the ImageUrl property is not available. In browsers that support the ToolTip attribute, this text also displays as a tool tip for the advertisement.
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