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

Loading a component directly from node_modules folder doesn't work with the correct version of jquery

4 Answers 122 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 12 Jun 2018, 03:40 PM

I am using npm to generate the folders inside my project. My goal is to include Kendo UI for jquery components and lunch the Telerik Grid. Bellow are my steps

Running npm inside the root of my project(.csproj) 
   install --save @progress/kendo-ui

A folder node_modules is generated by default with the npm command, a folder named @progress which I assume has all Telerik dependencies is created inside, as well as a jquery folder. Usually, if you do the same steps with nuget instead of this folder, you get on your package folder a jquery reference that supposed to be used by Telerik components, but all inside of the kendo folder. My questions are the following:

1- If I am using the Visual Studio for an Asp.net Core project, which should be the steps to include correctly the and styles used by .(In case of nuget, do I need to go to my nuget path C:\Users\MyUSer\.nuget\packages\kendouiprofessional\2018.2.530\content\Scripts\kendo\2018.2.530 and take the dependencies from there directly?) How can I run a tool like that installs on the same project all my -dependencies? If npm is the answer, then

2-the jquery folder generated by default has this version v3.3.1, is that the same version that grid component supposed to use, or any version of jquery should be fine for the grid? On the nuget package the version kendo. uses is v1.12.4

Thanks in advance

 

 

 

 

 

 

 

 

 

 

 

 

4 Answers, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 14 Jun 2018, 01:24 PM
Hello Ivan,

I will answer to your questions in reverse order.

Here you will find a list with the supported jQuery versions in Kendo. All widget of the Kendo suite are tested to be compatible with the listed versions. The officially supported versions of jQuery for the latest official Kendo release (R2 2018.2.516) are: 1.12.4, 1.10.x, 2.2.x and 3.3.1.

As per the first question, the KendoUIProfessional NuGet package should not be used in .Net Core project. In is present on the Telerik NuGet feed for use in .NET MVC projects. Having that said, I would recommend you to get the Kendo UI from NPM or from Bower.

Regards,
Veselin Tsvetanov
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
Ivan
Top achievements
Rank 1
answered on 14 Jun 2018, 01:52 PM
I got your point, btw, link with supported jquery versions  work
0
Ivan
Top achievements
Rank 1
answered on 14 Jun 2018, 01:52 PM
I got your point, btw the link with supported JQuery version doesn't work
0
Veselin Tsvetanov
Telerik team
answered on 14 Jun 2018, 02:41 PM
Hello Ivan,

Please, excuse me for the corrupted link sent. Here you will find the appropriate documentation section on the jQuery supported versions.

Regards,
Veselin Tsvetanov
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.
Tags
General Discussions
Asked by
Ivan
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Ivan
Top achievements
Rank 1
Share this question
or