Click or drag to resize
ControlsHelperGetParentControlParentType Method (Control)
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 ParentType GetParentControl<ParentType>(
	Control control
)

Parameters

control
Type: System.Web.UIControl
Control

Type Parameters

ParentType

Return Value

Type: ParentType
See Also