PortalHelper CollectControlsOfType ControlType  Method Kentico 8.1 API Reference
Returns the list of all controls matching the given control type

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

parent
Type: OnlineSystem.Web.UI Control
Parent control
collectChild (Optional)
Type: OnlineSystem Boolean
If true, also child controls under controls of the given type are collected

Return Value

Type: OnlineList ControlType 
See Also