ProxyWebPartManager::OnInit Method (EventArgs^)
.NET Framework (current version)
Raises the Init event and initializes the control.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The WebPartManager control from the associated master page is null. |
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: