/// <summary> /// Called by the framework when the component is used so the component can add component specific addons. /// </summary> public override async Task IncludeAsync() { await JqueryUICore.UseAsync(); await Manager.AddOnManager.AddAddOnNamedAsync(Package.AreaName, "github.com.danielm.uploader"); await base.IncludeAsync(); }
/// <summary> /// Called by the framework when the component is used so the component can add component specific addons. /// </summary> public override async Task IncludeAsync() { if (Manager.CurrentSite.TabStyle == YetaWF.Core.Site.TabStyleEnum.JQuery) { await JqueryUICore.UseAsync(); } else if (Manager.CurrentSite.TabStyle == YetaWF.Core.Site.TabStyleEnum.Kendo) { await KendoUICore.AddFileAsync("kendo.data.min.js"); await KendoUICore.AddFileAsync("kendo.tabstrip.min.js"); } else { throw new InternalError("Unknown tab control style"); } await base.IncludeAsync(); }
/// <summary> /// Called by the framework when the component is used so the component can add component specific addons. /// </summary> public override async Task IncludeAsync() { await JqueryUICore.UseAsync();// needed for css await base.IncludeAsync(); }