This is a migrated thread and some comments may be shown as answers.

Binding HTML5 Report viewer to client side data

1 Answer 194 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ciaran O'Neill
Top achievements
Rank 1
Ciaran O'Neill asked on 19 Jan 2015, 04:18 AM
My basic requirement is that I want to be able to use the ReportViewer to approximate print/print preview functionality from any grid in my application. I am porting an existing Silverlight application that uses a RadDocument for Print Preview functionality from RadGrids and the ReportViewer looks like it will provide me with the closest match in functionality with the export, zoom and reset zoom controls on the toolbar.

To achieve this I'd like to know:
1. Is it possible to bind client side data to a ReportViewer? I will already have a data source for my kendo grid and I'd like to reuse this data without a server call if possible.
2. Is it possible to dynamically generate the reportSource for the ReportViewer. Each grid in my application will have different columns etc. and I'd like to dynamically generate the xml for the reportSource to match the columns of the grid.

Is this kind of functionality possible with the ReportViewer?

1 Answer, 1 is accepted

Sort by
0
Hinata
Top achievements
Rank 1
answered on 21 Jan 2015, 03:19 PM
Hi Ciaran,

With the HTML5 Report Viewer the report is processed and render on the server, not on the client. You will need to somehow pass the data to the server in your app. Then you can do anything with the report since you will be able to modify it programmatically: http://www.telerik.com/help/reporting/telerik-reporting-rest-custom-report-resolver.html
Tags
General Discussions
Asked by
Ciaran O'Neill
Top achievements
Rank 1
Answers by
Hinata
Top achievements
Rank 1
Share this question
or