After purchasing your subscription/license, you can obtain your license key by downloading it from your personal/company account. To log into your account, please use the username and password provided during the purchase of your product subscription. In the "Subscription" section you will find the "How to Activate" button. Clicking this button will take you to the next page where you can copy the activation key in string format or download the license file containing the activation key. Components activated using a key can be deployed in any project and can be activated without an internet connection.
For JS components, it is possible to generate a license key linked to a specific domain name. This license key will not activate Stimulsoft components on any other domain names.
In today's article, we will discuss the functionality of data analysis using SumIf() and CountIf() functions in dashboards. These functions are used to sum data field values or count occurrences of a value based on specific conditions. In this article, our focus will be on the application of these functions to the Table element. But note that they also apply to other dashboard elements that perform data analysis. Before we get into the full review, let’s take a moment to review how data field values are handled in dashboards.
What activation methods are available?
The complete activation method depends on the component and the framework it is running in. In most cases, you can activate a component using a key in a file or string. However, for some reporting components, activation options also include utilization of byte arrays, streams, or assemblies.
Reporting and Dashboard Tools for WinForms (Windows Forms)
Subscription required:
- Stimulsoft Reports.NET activates reporting components;
- Stimulsoft Dashboards.WIN is used to activate the analysis component;
- Stimulsoft Ultimate , which serves as a comprehensive solution for activating reporting and data analysis components as well as PDF form generation components.
Please use the form method to activate the license before initializing the component.
Form1.cs
public partial class Form1 : Form { public Form1() { //Activation with using license code Stimulsoft.Base.StiLicense.Key = "Your activation code..."; //Activation with using license file Stimulsoft.Base.StiLicense.LoadFromFile("license.key"); //Activation from byte array Stimulsoft.Base.StiLicense.LoadFromBytes(bytes); //Activation from stream Stimulsoft.Base.StiLicense.LoadFromStream(stream); //Activation from assembly Stimulsoft.Base.StiLicense.LoadFromEntryAssembly(assembly, "stimulsoft-license.key"); InitializeComponent(); } }
Reporting and dashboard tools for (WPF)
Subscription required:
- Stimulsoft Reports.WPF is used to activate the reporting component;
- Stimulsoft Dashboards.WIN is used to activate the analysis component;
- Stimulsoft Ultimate , which serves as a comprehensive solution for activating reporting and data analysis components as well as PDF form generation components.
Activate the license in the MainWindow method before initializing the component.
MainWindows.xaml.cs
public partial class MainWindow : Window { public MainWindow() { //Activation with using license code Stimulsoft.Base.StiLicense.Key = "Your activation code..."; //Activation with using license file Stimulsoft.Base.StiLicense.LoadFromFile("license.key"); //Activation from byte array Stimulsoft.Base.StiLicense.LoadFromBytes(bytes); //Activation from stream Stimulsoft.Base.StiLicense.LoadFromStream(stream); //Activation from assembly Stimulsoft.Base.StiLicense.LoadFromEntryAssembly(assembly, "stimulsoft-license.key"); InitializeComponent(); } }
Reporting and dashboarding tools for ASP.NET WebForms
Subscription required:
- Stimulsoft Reports.WEB is used to activate the reporting component;
- Stimulsoft Dashboards.WEB is used to activate the analysis component;
- Stimulsoft Ultimate , which serves as a comprehensive solution for activating reporting and data analysis components as well as PDF form generation components.
Activate the license in the static constructor of the class.
Default.aspx.cs
public partial class _Default : Page { static _Default() { //Activation with using license code Stimulsoft.Base.StiLicense.Key = "Your activation code..."; //Activation with using license file var path = HttpContext.Current.Server.MapPath("license.key"); Stimulsoft.Base.StiLicense.LoadFromFile(path); } }
Reporting and dashboarding tools for ASP.NET MVC
Subscription required:
- Stimulsoft Reports.WEB is used to activate the reporting component;
- Stimulsoft Dashboards.WEB is used to activate the analysis component;
- Stimulsoft Ultimate , which serves as a comprehensive solution for activating reporting and data analysis components as well as PDF form generation components.
Activate the license in the controller's static constructor.
HomeController.cs
public class HomeController : Controller { static HomeController() { //Activation using license code Stimulsoft.Base.StiLicense.Key = "Your activation code..."; //Activation using license file var path = System.Web.HttpContext.Current.Server.MapPath("~/Content/license.key"); Stimulsoft.Base.StiLicense.LoadFromFile(path); } }
Reporting and dashboarding tools for ASP.NET Core MVC
Subscription required:
- Stimulsoft Reports.WEB is used to activate the reporting component;
- Stimulsoft Dashboards.WEB is used to activate the analysis component;
- Stimulsoft Ultimate , which serves as a comprehensive solution for activating reporting and data analysis components as well as PDF form generation components.
Activate the license in the controller's static constructor.
HomeController.cs
//Activation using license code public class HomeController : Controller { static HomeController() { Stimulsoft.Base.StiLicense.Key = "Your activation code..."; } } //Activation using license file public class HomeController : Controller { public HomeController(IHostingEnvironment hostEnvironment) { var path = Path.Combine(hostEnvironment.ContentRootPath, "Content\\license.key"); Stimulsoft.Base.StiLicense.LoadFromFile(path); } }
Reporting and dashboarding tools for ASP.NET Core Razor
Subscription required:
- Stimulsoft Reports.WEB is used to activate the reporting component;
- Stimulsoft Dashboards.WEB is used to activate the analysis component;
- Stimulsoft Ultimate , which serves as a comprehensive solution for activating reporting and data analysis components as well as PDF form generation components.
Activate the license in the static constructor of the page.
Index.cshtml.cs
//Activation using license code public class IndexModel : PageModel { static IndexModel() { Stimulsoft.Base.StiLicense.Key = "Your activation code..."; } } //Activation using license file public class IndexModel : PageModel { public IndexModel(IWebHostEnvironment webHostEnvironment) { var path = Path.Combine(webHostEnvironment.ContentRootPath, "Content\\license.key"); Stimulsoft.Base.StiLicense.LoadFromFile(path); } }
Reporting and dashboarding tools for Blazor Server
Subscription required:
- Stimulsoft Reports.WEB is used to activate the reporting component;
- Stimulsoft Dashboards.WEB is used to activate the analysis component;
- Stimulsoft Ultimate , which serves as a comprehensive solution for activating reporting and data analysis components as well as PDF form generation components.
Activate the license in the page initialization event.
Index.razor
@using Stimulsoft.Report @using Stimulsoft.Report.Blazor @using Stimulsoft.Report.Web <StiBlazorViewer /> @code { protected override void OnInitialized() { //Activation using license code Stimulsoft.Base.StiLicense.Key = "Your activation code..."; //Activation using license file Stimulsoft.Base.StiLicense.LoadFromFile("Content/license.key"); base.OnInitialized(); } }
Continue browsing "Report Tool Stimulsoft Activation Collection, Covering Most Control Activation Methods (Part 2)"