NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AdRotator AdCreated Event

[To be supplied.]

The following declaration shows the syntax for a method that handles the AdCreated event.

[Visual Basic]
Protected Sub AdRotatorName_AdCreated( _
   ByVal sender As Object, _
   ByVal e As AdCreatedEventArgs _
)
[C#]
protected void AdRotatorName_AdCreated(
   object sender,
   AdCreatedEventArgs e
);
[C++]
protected: void AdRotatorName_AdCreated(
   Object* sender,
   AdCreatedEventArgs* e
);
[JScript]
protected AdRotatorName_AdCreated(
   sender : Object,
   e : AdCreatedEventArgs
);

Parameters

sender
The source of the event.
e
An AdCreatedEventArgs that contains the event data. The following AdCreatedEventArgs properties provide information specific to this event.
Property Description
AdProperties
Dictionary containing all the Ad properties that were in the XML file
AlternateText
The alternate text and tooltip that will be rendered in the AdRotator
ImageUrl
The image that will be rendered in the AdRotator
NavigateUrl
The target URL that will be rendered in the AdRotator

See Also

AdRotator Class | AdRotator MembersTopic | System.Web.UI.WebControls Namespace