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

Telerik html5 report viewer on angular 10

2 Answers 183 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tally
Top achievements
Rank 1
Tally asked on 08 Jul 2020, 10:01 AM

Hi,

We have updated angular to angular 10.

I get Error:

Error loading the report viewer's templates. (trvTemplateUrl = '/api/reports/resources/templates/telerikReportViewerTemplate-14.1.20.618.html/').

The code haven't changed.

Is there a problem with angular 10?

2 Answers, 1 is accepted

Sort by
0
Veronika
Telerik team
answered on 13 Jul 2020, 02:19 PM

Hi Tally,

Indeed, the problem is probably with the Angular version. Since Angular 9 has been released, with all new and cool stuff in it, including SSR, we have experienced difficulties to make Telerik Report Viewer working in Angular 9+ applications. Telerik Report Viewer is not a native angular component. It is an angular wrapper of the HTML5 Report viewer, which is dependant on the browser document object. At this point, we still do not find a solution or workaround for this issue. 

I would suggest following the Telerik Report viewer release notes for more information when this issue is fixed and released. 

Best Regards,
Veronika
Progress Telerik

0
Tally
Top achievements
Rank 1
answered on 14 Jul 2020, 05:36 AM

Thank you for the reply, Veronica. We have solved the problem by updating the telerik nuget packages in the server  to version 14.1.20.618.

The packages that where updated:

Telerik.Reporting(should be updated first)

Telerik.Reporting.WebservicesDataSource

Telerik.Reporting.Services.AspNetCore

 

Tags
General Discussions
Asked by
Tally
Top achievements
Rank 1
Answers by
Veronika
Telerik team
Tally
Top achievements
Rank 1
Share this question
or