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

Object doesn't support property or method 'setProperty'

2 Answers 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gurpreet
Top achievements
Rank 1
Gurpreet asked on 10 Nov 2017, 06:25 AM

Hi Folks, 

I am using Kendo UI for Angular in a asp.net core 2 application. I am getting the following error for all the kendo components:

Object doesn't support property or method 'setProperty'

I also downloaded the sample project for asp.net core from git hub. But that also fails to run with the following error:

Exception: Call to Node module failed with error: Error: Can't resolve all parameters for HttpXsrfCookieExtractor: (?, [object Object], [object Object]).
at syntaxError (C:\Users\gursin\Downloads\kendo-angular-universal-demo-master1\kendo-angular-universal-demo-master\aspnet_core_sample_application\ClientApp\dist\vendor.js:36978:34)

I have followed the instructions mentioned in the following article:

https://www.telerik.com/kendo-angular-ui/components/installation/dotnet-core/

https://www.telerik.com/blogs/cooking-with-aspnet-core-and-angular-2

Would appreciate some help on this. 

Thanks

Gurpreet Singh

2 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 14 Nov 2017, 06:07 AM
Hi Gurpreet,

Does this happen on all browsers? If only IE exhibits this behavior, then you might try including the required polyfills. If that is not the case or including the polyfills does not help, then I'd ask you to share the sample project where this happens. This will allow us to investigate further.

Regards,
Alexander Popov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Gurpreet
Top achievements
Rank 1
answered on 14 Nov 2017, 05:04 PM
Thanks Alex. It was happening on all the browsers.

The issue was resolved by upgrading angular to 5.0. Interestingly npm install didn't show any warnings for kendo having angular 5.0 as dependency 
Tags
General Discussions
Asked by
Gurpreet
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Gurpreet
Top achievements
Rank 1
Share this question
or