Click or drag to resize
ControlsHelperFindParentControl Method
Searches the container for a server control with the specified id parameter.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax
C#
public static Control FindParentControl(
	string controlId,
	Control control
)

Parameters

controlId
Type: SystemString
The identifier for the control to be found
control
Type: System.Web.UIControl
Starting control

Return Value

Type: Control
See Also