PortalScriptHelperRegisterBootstrapScript Method |
Ensures the bootstrap JavaScript files for specified page if it is allowed for view mode.
Namespace: CMS.PortalEngine.Web.UIAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntaxpublic static void RegisterBootstrapScript(
ViewModeEnum viewMode,
Page page
)
Parameters
- viewMode
- Type: CMS.PortalEngineViewModeEnum
The view mode. - page
- Type: System.Web.UIPage
The current page.
See Also