WebZone::OnInit Method (EventArgs^)
.NET Framework (current version)
Raises the Init event.
Assembly: System.Web (in System.Web.dll)
| 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
Available since 2.0
Show: