AdRotator::OnAdCreated Method
Raises the AdCreated event for the AdRotator control. This method has essentially the same functionality as the Web Forms control. For more information, see System.Web.UI.WebControls::AdRotator.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
Parameters
- e
- Type: System.Web.UI.WebControls::AdCreatedEventArgs
An AdCreatedEventArgs object that contains event data.
Inheriting classes can override this method to perform other tasks. For example, you can use other criteria to filter how an advertisement is chosen by the AdRotator control, or you can record the advertisement for billing purposes.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.