AdRotator.AdCreated Event
Assembly: System.Web.Mobile (in system.web.mobile.dll)
public: event AdCreatedEventHandler^ AdCreated { void add (AdCreatedEventHandler^ value); void remove (AdCreatedEventHandler^ value); }
/** @event */ public void add_AdCreated (AdCreatedEventHandler value) /** @event */ public void remove_AdCreated (AdCreatedEventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.
If the AdvertisementFile property is set, this event occurs after the advertisement has been selected from the file.
The event handler receives an AdCreatedEventArgs property that contains the properties of the advertisement being displayed. The following table shows the properties that provide information specific to this event.
| Property | Description |
|---|---|
| Returns the dictionary that contains all the advertisement properties extracted from an XML file after the AdCreated event is raised. | |
| Specifies the alternate text and ToolTip (if supported by the browser) to be rendered in the AdRotator control. | |
| Specifies the image to be rendered in the AdRotator control. | |
| Specifies the URL reference that the browser navigates to when the advertisement is clicked. |
Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.