Click or drag to resize
UIContextHelperGetUIContext Method
Returns control's UI context. If no parent control contains own UI context, use main page's (stored in request stock helper).

Namespace: CMS.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static UIContext GetUIContext(
	Control ctrl = null
)

Parameters

ctrl (Optional)
Type: System.Web.UIControl
Control to start with

Return Value

Type: UIContext
See Also