Binding HTML5 Report viewer to client side data

2 posts, 0 answers
  1. Ciaran O'Neill
    Ciaran O'Neill avatar
    15 posts
    Member since:
    May 2010

    Posted 18 Jan 2015 Link to this post

    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?
  2. Hinata
    Hinata avatar
    146 posts
    Member since:
    Dec 2013

    Posted 21 Jan 2015 in reply to Ciaran O'Neill Link to this post

    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:
Back to Top