ProxyWebPartManager.OnInit Method (EventArgs)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Raises the Init event and initializes the control.

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

protected internal override void OnInit(
	EventArgs e


Type: System.EventArgs

An EventArgs that contains the event data.

Exception Condition

The WebPartManager control from the associated master page is null.

The OnInit method calls the base method, and then carries out tasks to initialize the ProxyWebPartManager control. An important task of this method is to assign the collection of connections referenced by the StaticConnections property to the WebPartManager control's WebPartManager.StaticConnections collection.

.NET Framework
Available since 2.0
Return to top