Click or drag to resize
ControlsHelperCheckControlContext Method
Returns true if specified control is under specified context name.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static bool CheckControlContext(
	Control control,
	string contextName
)

Parameters

control
Type: System.Web.UIControl
Target control
contextName
Type: SystemString
Context name

Return Value

Type: Boolean
See Also