AdRotator::AdvertisementFile Property

 

Gets or sets the path to the XML file that contains advertisement data. The default value is an empty string (""). 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^ AdvertisementFile {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The path to the XML file containing the properties of the advertisements to render in the AdRotator control.

System_CAPS_noteNote

For security purposes, XML files should be placed in the App_Data folder, which is configured to not allow users direct access to XML files.

The file format and file name restrictions conform to those described for the AdRotator::AdvertisementFile property.

.NET Framework
Available since 1.1
Return to top
Show: