ControlsHelperGetParentControlParentType Method (Control) |
Gets the parent control of specified type for given control.
Namespace: CMS.ExtendedControlsAssembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 8.2.23
Syntax public static ParentType GetParentControl<ParentType>(
Control control
)
where ParentType : Control
Parameters
- control
- Type: System.Web.UIControl
Control
Type Parameters
- ParentType
Return Value
Type:
ParentTypeSee Also