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.PortalEngine.Web.UI
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static List<CMSAbstractWebPart> CollectWebParts(
	Control parent
)

Parameters

parent
Type: System.Web.UIControl
Parent control

Return Value

Type: ListCMSAbstractWebPart
See Also