AdRotator::OnPreRender Method (EventArgs^)

 

Gets the advertisement information for rendering by looking up the file data or calling the user event.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public protected:
virtual void OnPreRender(
	EventArgs^ e
) override

Parameters

e
Type: System::EventArgs^

An EventArgs object that contains event data.

The following code example demonstrates how to override the OnPreRender method so that it always displays a border in a custom AdRotator control.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: