In the previous article " Report Tool Stimulsoft Activation Collection, Covering Most Control Activation Methods (Part 1) " In this article, we have introduced the activation methods of some Stimulsoft controls, and we will continue to introduce you to the subsequent parts ~
Reporting and dashboarding tools for Blazor WebAssembly (Wasm)
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..."; base.OnInitialized(); } }
Reporting tools for Angular
Subscription required:
- Stimulsoft Reports.WEB is used to activate the reporting 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 constructor.
ViewerController.cs
//Activation using license code public class ViewerController : Controller { public ViewerController() { Stimulsoft.Base.StiLicense.Key = "Your activation code..."; } } //Activation using license file public class ViewerController : Controller { public ViewerController(IWebHostEnvironment hostEnvironment) { var path = Path.Combine(hostEnvironment.ContentRootPath, "Content\\license.key"); Stimulsoft.Base.StiLicense.LoadFromFile(path); } }
Reporting and dashboarding tools for JavaScript (JS)
Subscription required:
- Stimulsoft Reports.JS activates the reporting component;
- Stimulsoft Dashboards.JS 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 your license before using the viewer and designer to create, load, and build reports.
index.html
function Start() { //Activation using license code Stimulsoft.Base.StiLicense.key = "Your activation code..."; //Activation using license file Stimulsoft.Base.StiLicense.loadFromFile("license.key"); }
Reporting and dashboarding tools for PHP (including Laravel)
Subscription required:
- Stimulsoft Reports.PHP is used to activate the reporting component;
- Stimulsoft Dashboards.PHP 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 event handler.
index.php
//Activation using license code <?php $handler = new \Stimulsoft\StiHandler(); $handler->license->setKey('Your activation code...'); $handler->renderHtml(); ?> //Activation using license file <?php $handler = new \Stimulsoft\StiHandler(); $handler->license->setFile('license.key'); $handler->renderHtml(); ?>
There is an option on the project page to download the license key using JavaScript code. It is necessary to add this code before creating, loading, and rendering the report and before using the viewer and designer.
index.html
function Start() { //Activation using license code Stimulsoft.Base.StiLicense.key = "Your activation code..."; //Activation using license file Stimulsoft.Base.StiLicense.loadFromFile("license.key"); }
Java reporting tool
Subscription required:
- Stimulsoft Reports.JAVA is used to activate the reporting component;
- Stimulsoft Ultimate , which serves as a comprehensive solution for activating reporting and data analysis components as well as PDF form generation components.
Before using the viewer and designer, activate the license using a string license key or using a license key file (for example, a license key file in a *.jsp file).
Forms for Web
Subscription required:
- Stimulsoft Forms.WEB activate form creation 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); } }