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.UIAssembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 12.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