Redigera

Dela via


ProxyWebPartManager.OnInit(EventArgs) Method

Definition

Raises the Init event and initializes the control.

protected public:
 override void OnInit(EventArgs ^ e);
protected internal override void OnInit (EventArgs e);
override this.OnInit : EventArgs -> unit
Protected Friend Overrides Sub OnInit (e As EventArgs)

Parameters

e
EventArgs

An EventArgs that contains the event data.

Exceptions

The WebPartManager control from the associated master page is null.

Remarks

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.

Applies to

See also