WebZone::OnInit Method (EventArgs^)

 

Raises the Init event.

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

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

Parameters

e
Type: System::EventArgs^

An EventArgs that contains the event data.

Exception Condition
InvalidOperationException

The zone control was added at too late of a stage in the page life cycle, or the WebPartManager is null.

The OnInit method overrides the base OnInit method to register a zone with the WebPartManager control.

.NET Framework
Available since 2.0
Return to top
Show: