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.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 9.0.0
Syntax public static UIContext GetUIContext(
Control ctrl = null
)
Parameters
- ctrl (Optional)
- Type: System.Web.UIControl
Control to start with
Return Value
Type:
UIContextSee Also