Click or drag to resize
PortalHelperGetWebPartControl Method
Gets the web part control instance from given control.

Namespace: CMS.PortalEngine.Web.UI
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public static CMSAbstractWebPart GetWebPartControl(
	Control control
)

Parameters

control
Type: System.Web.UIControl
Initial control

Return Value

Type: CMSAbstractWebPart
See Also