WebPartManagerInternals::AddWebPart Method (WebPart^)
.NET Framework (current version)
Adds a WebPart or server control to the WebPartManager control's collection of WebPart controls on a Web page.
Assembly: System.Web (in System.Web.dll)
Parameters
- webPart
-
Type:
System.Web.UI.WebControls.WebParts::WebPart^
The WebPart being added to the WebPartManager control's collection of controls.
.NET Framework
Available since 2.0
Available since 2.0
Show: