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: 11.0.0
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