Hi guys,
I am glad to see that Telerik has released a new version of report viewer based on HTML 5. However, I hit a technical issue when I try to start using new version of Telerik report viewer.
Okay, let me talk about what I want to do with Telerik.
1. On back-end, I have built a custom reporting service in WCF, which will be implementing advanced business logic. You can think that I will do below steps on back-end in general.
a. Bind data to report - Receive UI request and load proper data for a report. I assume that report is a very basic report which doesn't has any sub-report, groups and other advanced features.
b. Render a report - Contact Telerik reporting engine to render a report.
c. Response - Send result to UI
2. On front-end, I have built a MVC web project for displaying reports. But I don't want to use ASPX to display reports. Okay,instead of using aspx and Iframe, I want to use new version of HTML 5 report viewer and RESTFUL service (Personally, I don't like Teleirk restful service but I have to use it if there is no way to use HTML 5 report viewer without restful service). My questions shows as below:
Q1: After I sent the report result to UI, how to feed the reportSourceData or we say, report object, to HTML5 report viewer? In an old way, I used aspx page to do the data binding and displaying a report. Is there any small demo or steps to show me how to use new report viewer to display report without using Telerik restful service? If answer is no, please look at next question.
Q2: In my opinion, Telerik restful service seems like a build-in reporting engine which could be a black box. I don't have full control on restful service or we say its not easy to get full control on restful service. I think restful service may does similar things like my backend service does. If so, I believe there is a way to feed a report result to html 5 report viewer ? Can you please send me demo code to show me how to do that pls?
Thank you.
F9