Posted 3 August 2017, 6:23 am ESTWe have nearly a thousand RDL reports. We want to integrate, test to understand whether your RDL Report Viewer is fast and reliable or not with our Framework. We execute RDL reports without a report server. Reports work within our Framework. We don’t want to rebuild our reports as rdlx or using any other technology. If your report viewer work as expected with our RDLs, we will buy it for our customers. Our Framework and modules are built with using standard VB.Net 4 technologies.
We tried to test ActiveReports RDL report viewer and tried to integrate pageReports with WebViewer.
We used WebViewer like that:
<activereportsweb:webviewer ID="WebViewer1" runat="server" height="1000px" ViewerType="HtmlViewer"></activereportsweb:webviewer>
We used your example ‘AR_RunTime_DataSource’ as reference. That example is similar to our Framework structure.
I couldn’t use many DataSets without a DataSource. I want to give only one DataSource and use at least 15 DataSet from that DataSource. We want to use queries with parameters. However, when we use these codes fetch these DataSets, our report could not be shown. We did debug and saw that we can fetch only one DataSet. Even our test report is very small, it includes only one DataSet and only one table, the report could not be shown.
What we see in browser (Report could not be shown):
I gave our vb part about ActiveReports execution:
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
If Page.IsPostBack Then
Dim report1 As New GrapeCity.ActiveReports.PageReport(New System.IO.FileInfo(Server.MapPath("PageReport1.rdlx")))
AddHandler report1.Document.LocateDataSource, AddressOf pageDocument_LocateDataSource
WebViewer1.PdfExportOptions.FitWindow = False
WebViewer1.Report = report1
Private Sub pageDocument_LocateDataSource(ByVal sender As Object, ByVal args As GrapeCity.ActiveReports.LocateDataSourceEventArgs)
If (args.DataSourceName = "DataSource1") Then
If (args.DataSetName = "DataSet1") Then
args.Data = GetData()