Click or drag to resize
ControlsHelperGetParentControl Method (Control, Type)
Gets the parent control of specified type for given control.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.0.0
Syntax
C#
public static Control GetParentControl(
	Control control,
	Type type
)

Parameters

control
Type: System.Web.UIControl
Control
type
Type: SystemType
Control type

Return Value

Type: Control
See Also