AdRotator.AdvertisementFile Property

Gets or sets the path to the XML file that contains advertisement data. The default value is an empty string ("").

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

[BindableAttribute(true)] 
public:
property String^ AdvertisementFile {
	String^ get ();
	void set (String^ value);
}
/** @property */
public String get_AdvertisementFile ()

/** @property */
public void set_AdvertisementFile (String value)

public function get AdvertisementFile () : String

public function set AdvertisementFile (value : String)

Property Value

The path to the XML file containing the properties of the advertisements to render in the AdRotator control.
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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

ADD
Show: