AdRotator::AdCreated Event
Occurs each time an advertisement is displayed. 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)
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.