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

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 9.0.0
Syntax
C#
public static CMSAbstractWebPart GetWebPartControl(
	Control control
)

Parameters

control
Type: System.Web.UIControl
Initial control

Return Value

Type: CMSAbstractWebPart
See Also