Unplanned
Last Updated: 26 Apr 2021 06:37 by ADMIN
CB
Created on: 19 Apr 2021 15:16
Type: Bug Report
1
TypeError: $kendoHtmlEncode is not a function in Angular Report Viewer SystemJS

Hello, 

I am receiving the TypeError: $kendoHtmlEncode error in an Angular Report Viewer with the SystemJS. I am also using a .NET Framework (4.6.2) WebApi based Reporting REST Service. See the following screenshot of the error. 

Additionally, the Report Viewer UI is loading until the error is thrown and the report never loads as shown in the following screenshot.

Note that I am also using a separate process for running each project.

For additional reference, I have attached a sample that reproduces the error. See the following steps to run the sample locally.

  1. Open the 1515808.sln file in Visual Studio.
  2. Restore the NuGet Packages.
  3. Run the included WebApi project.
  4. Open the src/ClientApp folder in a command window.
  5. Run npm install from the CLI.
  6. Execute npm run serve from the CLI.

Please let me know if you need any additional information. Thank you.

Attached Files:
0 comments