Click or drag to resize
PortalHelperCollectWebParts Method
Returns the list of all the WebParts within the given control (searches only for the level 0 placeholders, does not search recursively in the placeholders).

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.2.23
Syntax
C#
public static List<CMSAbstractWebPart> CollectWebParts(
	Control parent
)

Parameters

parent
Type: System.Web.UIControl
Parent control

Return Value

Type: ListCMSAbstractWebPart
See Also