Click or drag to resize
ControlsHelperGetChildControl Method (Control, Type, Boolean)
Gets the first child control of specified type for given control.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 8.2.23
Syntax
C#
public static Control GetChildControl(
	Control control,
	Type type,
	bool ensureChildControls = true
)

Parameters

control
Type: System.Web.UIControl
Control
type
Type: SystemType
Control type
ensureChildControls (Optional)
Type: SystemBoolean
Indicates whether child controls should be ensured when looking for a given control

Return Value

Type: Control
See Also