Web Report Designer runs completely independently in the browser and does not require any local installation of a Windows program, as is the case with Web Designer.
In order to be able to use all Designer functions and objects, the Web Designer can still be used, but it requires a local Windows installation and is therefore no longer browser-independent.
General limitations in the Web Report Designer as compared to the normal Designer:
Then create a new controller as usual - in the following the name MyWebReportDesignerController is used as an example. Derive the controller from the WebReportDesignerController class:
Then implement the two abstract methods OnProvideListLabel and OnProvideRepository. Pass your List & Label instance with matching data source or the Repository to be used in the respective arguments provided.
For redistribution it is important that additionally the List & Label license key (see also LicensingInfo) is specified in OnProvideListLabel() for the List & Label instance.
Note: For a detailed implementation for DefaultSettings.GetRepository() in OnProvideRepository(), see the provided ASP.NET examples.
The further procedure differs for .NET 6/.NET 8/.NET 9 and .NET 4.8.
.NET 6/.NET 8/.NET 9:
If you see a startup.cs file (otherwise see below), add the following lines to the end of the Configure method:
And in the ConfigureServices method, add this line:
If there is no startup.cs you should have a program.cs. In this case, add app.UseWebReportDesigner(); right after any other app.Use... call and add builder.Services.AddWebReportDesigner(); right after any other builder.Services... call.
.NET 4.8:
In the global.asax.cs/global.asax.vb file, add the following line before the RouteConfig.RegisterRoutes() call:
This completes the configuration in the back-end. The front-end can now be integrated. In the front-end, the choice of technology is completely free.
If other front-end technologies such as React, Vue.js or Angular are used, the JavaScript file for the Web Report Designer (WebReportDesigner.js) must be integrated and the viewer tag in the desired position in the HTML source code.
The List & Label installation contains corresponding ASP.NET examples that show the use of the Web Report Designer in detail.