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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph