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.UIAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax public static List<CMSAbstractWebPart> CollectWebParts(
Control parent
)
Parameters
- parent
- Type: System.Web.UIControl
Parent control
Return Value
Type:
ListCMSAbstractWebPartSee Also