Szerkesztés

Megosztás a következőn keresztül:


WebPartManager.OnInit(EventArgs) Method

Definition

Raises the Init event, which is the first event in the WebPartManager control life cycle.

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

There is another WebPartManager control on the page

Remarks

The OnInit method calls the base method, which raises the Init event for the control, and then carries out several preparatory steps, such as ensuring that there is only one instance of the WebPartManager control on a page, and loading personalization data.

Applies to

See also