0
votes

Template parse errors:

'kendo-angular-pdf-export' is not a known element:

1. If 'kendo-angular-pdf-export' is an Angular component, then verify that it is part of this module.

2. If 'kendo-angular-pdf-export' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message

I have registered the module and imported it in my main file as described in https://www.telerik.com/kendo-angular-ui/components/pdfexport/ but still keeps getting this error. I am working with Angular 5.

Module is registered like this

My HTML file looks like this

Screen shot of the Error

I found what I did wrong : This is from telerik site of kendo-ui-angular But really it's kendo-pdf-export as shown in the example.

2
Could you show us what you have done - John Velasquez
@JohnVelasquez I have edited the question. Please refer above. - Uthpala Pathirana

2 Answers

1
votes

In your view you're using kendo-angular-pdf-export, base on the telerik kendo documentation it should be kendo-pdf-export

0
votes

if you used the module. you must import "PDFModule" in your module .