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