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

How is work telerik reporting

2 Answers 200 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mustafa
Top achievements
Rank 1
Mustafa asked on 13 Nov 2013, 01:21 PM
Hi all

$reportViewer = $("#reportViewer1")
    .telerik_ReportViewer({
        serviceUrl: "/api/reports/",
        templateUrl: '/ReportViewer/templates/telerikReportViewerTemplate.html',
        reportSource: { report: "MyClassLib.Group, MyClassLib" },
        viewMode: telerikReportViewer.ViewMode.Interactive,
        scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,
        scale: 1.0,
        PersistSession: false
    });
I take this code part from a sample project and modify only reportSource. It was working but i didn't know how it was working
Then i've tried to add reporting parameter, then problems started to show itself. Parameters not shown in parameter area in browser view although shown in design view. That's why i want to learn how it's working.
I've searched documents in internet but couldn't found.

I wonder especially, how  serviceUrl is work and where is /api/reports/
i would appreciate, if you tell what other parameters is for and how they are working or give link of a document.

2 Answers, 1 is accepted

Sort by
0
Accepted
Petio Petkov
Telerik team
answered on 14 Nov 2013, 03:29 PM
Hi Mustafa,

Our suggestion is to check the How To: Add the HTML5 Report Viewer to an HTML page help article. The HTML5 Report Viewer consumes its data from a REST Service and you can find more information about it  in the How to: Implement the service help article.

You can find all client-side properties explained here.

Let us know if you need any additional information

Regards,
Petio Petkov
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Mustafa
Top achievements
Rank 1
answered on 18 Nov 2013, 07:04 AM
Hi Petio Petkov 

I saw first two links and I code my project according to them. Third link is the one exactly what i want and it is very useful. Thanks for your helps. 
Tags
General Discussions
Asked by
Mustafa
Top achievements
Rank 1
Answers by
Petio Petkov
Telerik team
Mustafa
Top achievements
Rank 1
Share this question
or