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.
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.
Note |
|---|
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.
Available since 1.1
System.Web.UI.WebControls::AdRotator
AdRotator Class
System.Web.UI.MobileControls Namespace
Introduction to the AdRotator Control
