Share via


OnAdCreated Method

Raises the AdCreated event for the AdRotator control. This method has essentially the same functionality as the Web Forms AdRotator control.

protected virtual void OnAdCreated(
   System.Web.UI.WebControls.AdCreatedEventArgs e
)

Parameters

Remarks

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.

See Also

Applies to: AdRotator Class