ControlsHelperCheckControlContext Method |
Returns true if specified control is under specified context name.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntax public static bool CheckControlContext(
Control control,
string contextName
)
Parameters
- control
- Type: System.Web.UIControl
Target control - contextName
- Type: SystemString
Context name
Return Value
Type:
BooleanSee Also