WebPartManager.OnInit(EventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.