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.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
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