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

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static Control GetChildControl(
	Control control,
	Type[] types,
	string controlId
)

Parameters

control
Type: System.Web.UIControl
Control
types
Type: SystemType
Array of controls types to find
controlId
Type: SystemString
Child control ID

Return Value

Type: Control
See Also