We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can ReportViewer be used strictly on client in Angular application?

Thread ID:

Created:

Updated:

Platform:

Replies:

145827 Jul 9,2019 09:27 PM UTC Jul 11,2019 06:35 AM UTC Report Platform 3
loading
Tags: Report Viewer
Ivan Demkovitch
Asked On July 9, 2019 09:27 PM UTC

We are migrating from legacy system and have following requirement:

We have RDL XML available on client
We have all data available on client (JSON array, etc)

Can we pass those into report viewer so it will generate report knowing data and RDL?
I'm just little confused if this is completely standalone component and we can use it without providing back end support

Thank you!


Mahendran Shanmugam [Syncfusion]
Replied On July 10, 2019 08:43 AM UTC

Hi Ivan, 

Thanks for your interest in our Syncfusion product. 

Our Report Viewer does not work with out back end services. But we can able to pass the JSON data for RDL report using processing mode as Local as shown in below code example. 
ReportAPIController.cs 
        //Method will be called when initialize the report options before start processing the report         
        public void OnInitReportOptions(ReportViewerOptions reportOption) 
        { 
            reportOption.ReportModel.ProcessingMode = ProcessingMode.Local; 
            reportOption.ReportModel.DataSources.Clear(); 
            reportOption.ReportModel.DataSources.Add(new ReportDataSource { Name = "StoreSales", Value = StoreSales.GetData() }); 
        } 

We have prepared the simple sample for your reference and it can be downloaded from below location. 

Regards, 
Mahendran S. 


Ivan Demkovitch
Replied On July 10, 2019 02:21 PM UTC

Is there any plans to have client-only report viewer?

We do have all our reports defined (RDL) in DB, but our back end not necessarily .NET
All we want is client component to generate report off RDL and data just like Microsoft Report Viewer does in WinForms..



Mahendran Shanmugam [Syncfusion]
Replied On July 11, 2019 06:35 AM UTC

Hi Ivan, 

Sorry for the inconvenience caused. 

As of now we don’t have plan to provide the Report viewer control support client side only. So could you please feel free to use our Report Viewer control with Web API service. 

Regards, 
Mahendran S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon