Click or drag to resize
PortalHelperCollectPlaceholders Method
Returns the hashtable of all the CMSPagePlaceholders 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: 12.0.0
Syntax
C#
public static List<CMSPagePlaceholder> CollectPlaceholders(
	Control parent,
	bool collectChild = false
)

Parameters

parent
Type: System.Web.UIControl
Parent control
collectChild (Optional)
Type: SystemBoolean
If true, also child placeholders are collected

Return Value

Type: ListCMSPagePlaceholder
See Also