asp.net.ph

AdCreatedEventArgs.NavigateUrl Property

System.Web.UI.WebControls Namespace   AdCreatedEventArgs Class


Sets or retrieves the URL of the Web page to display when the AdRotator is clicked.

Syntax


Script AdCreatedEventArgs.ImageUrl [ = strFilePath ]

Property Value


strFilePath The absolute or relative path of the Web page to display.

The property is read/write with no default value.

Remarks

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.

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