The Web Report Viewer supports all common browser types. Thus, it can be used on clients with different operating systems. It allows interactive input through drilldown and report parameters.
Then create a new controller as usual - in the following the name MyWebReportViewerController is used as an example. Derive the controller from the WebReportViewerController class:
Then implement the two abstract methods OnProvideListLabel and OnProvideRepository. Pass your List & Label instance with matching data source and temporary export path repectively the Repository to be used in the respective arguments provided.
The further procedure differs for .NET Core 3.1/.NET 5/.NET 6 and .NET 4.x.
.NET Core 3.1/.NET 5/.NET 6:
In the startup.cs file, add the following lines to the end of the Configure method:
.NET 4.x:
In the global.asax.cs/global.asax.vb file, add the following line before the RouteConfig.RegisterRoutes() call:
The configuration is now complete. Now the Web Report Viewer can be inserted and used in the desired view as follows:
The List & Label installation contains corresponding ASP.NET examples that show the use of the Web Report Viewer in detail both under .NET Core and under .NET 4.x.