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

Adding the Web Report Designer AspNet Core

3 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lonwabo
Top achievements
Rank 1
Veteran
Lonwabo asked on 07 May 2020, 03:57 PM

Hi,

I have been following https://docs.telerik.com/reporting/web-report-designer-setup-in-net-core to add the web report designer to an aspnetcore project both on .net core 2.1 and 3.1 and I am getting javascript errors because of these files:

<script src="..../js/telerikReportViewer"></script>

<script src="..../js/webReportDesigner"></script>

The article does not explain where are these references and how they work. And also why do you have to register services  in a different class instead of the ConfigureServices method of Startup.cs?

3 Answers, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 12 May 2020, 12:36 PM

Hello Lonwabo,

Basically, the JavaScript of the Web Report Designer comes from the service. Note that it is not mandatory to create a separate class for the ConfigureServices method.

You can check our demo (.NET Core 2.2) located in the installation folder of Telerik Reporting: C:\Program Files (x86)\Progress\Telerik Reporting <Version>\Examples\CSharp\Asp.NetCoreDemo

A demo in .NET Core 3.1 can be found in WebReportDesigner in .NETCore 3.1 forum post.

 

Regards,
Neli
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Lonwabo
Top achievements
Rank 1
Veteran
answered on 14 May 2020, 06:16 AM

Thank you,

I wanted to also just check that since the report designer is JavaScript based and the it also works via an mvc controller. would it be possible to get the report designer to run on a Blazor app?

0
Peter
Telerik team
answered on 18 May 2020, 05:50 PM

Hi Lonwabo,

Yes, the Web Report Designer is a Kendo jQuery widget that can be embedded in a Blazor application. Check out this GitHub repo with an example. The example requires the latest Telerik Reporting release R2 2020. Just have in mind the following two known issues:

  • SqlDataSource is throwing errors due to broken APIs in .NET Standard 2.0, this requires special .NET Core 3 build that will be available with the next internal build. Here is the public item on the topic. The item status will be updated when the internal build is available.
  • Using the Web Report Designer with other Kendo controls may result in UI glitches, this is logged and will be fixed with a next release.

Regards,
Peter
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Lonwabo
Top achievements
Rank 1
Veteran
Answers by
Neli
Telerik team
Lonwabo
Top achievements
Rank 1
Veteran
Peter
Telerik team
Share this question
or