asp.net.ph

AdCreatedEventArgs.AlternateText Property

System.Web.UI.WebControls Namespace   AdCreatedEventArgs Class


Sets or retrieves the alternate text displayed in the AdRotator control.

Syntax


Script AdCreatedEventArgs.AlternateText [ = strText ]

Property Value


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.

Remarks

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.

See Also

AdCreatedEventArgs Members   AdCreatedEventHandler   AdRotator Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note