/// <summary> /// Registers the needed Java Scripts /// </summary> /// <param name="e">An <see cref="T:System.EventArgs"/> object that contains the event data.</param> protected override void OnPreRender([NotNull] EventArgs e) { // setup jQuery and YAF JS... BoardContext.Current.PageElements.RegisterJsBlock( "yafTabsJs", JavaScriptBlocks.BootstrapNavsLoadJs("v-pills-tab", this.hidLastTab.ClientID)); base.OnPreRender(e); }
/// <summary> /// Registers the needed Java Scripts /// </summary> /// <param name="e">An <see cref="T:System.EventArgs"/> object that contains the event data.</param> protected override void OnPreRender([NotNull] EventArgs e) { // setup jQuery and YAF JS... YafContext.Current.PageElements.RegisterJsBlock( "yafTabsJs", JavaScriptBlocks.BootstrapNavsLoadJs("v-pills-tab", this.hidLastTab.ClientID)); this.PageContext.PageElements.RegisterJsBlockStartup( "BlockUIExecuteJs", JavaScriptBlocks.BlockUiExecuteJs("SearchIndexMessage", this.IndexSearch.ClientID)); base.OnPreRender(e); }