AdRotator::NavigateUrlKey Property

 

Gets or sets the name of the element that contains the target URL. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
[BindableAttribute(true)]
property String^ NavigateUrlKey {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The name of the element in the XML file that contains the target URL.

You can use <Choice> elements to override this setting to show alternate URLs for the advertisement.

The following code example demonstrates how to use the NavigateUrlKey property to set the target URL for the advertisement. For the complete sample code, see the AdRotator class overview.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: