I have a project that is using version 2019.1.220 and I have found some issues with them. However when I try to reproduce them on the dojo they are not reproducible.
For example for the TreeView the loading text is not fully displayed. I investigate a little a saw that my release version generates "<div class="k-icon...">Loading...<div>" while the dojo with the same version generates "<div class="k-icon..."></div>Loading...". Why does the dojo uses a different version then the released one?
8 Answers, 1 is accepted
Hi Dan,
There is no difference in the Kendo version used in the dojo. It is the same as the one shipped with the specific release. You can see that the CDN used in the dojo would be the same as in your project (if you are using a CDN).
Can you check if the jQuery version is different in your application? If it is, change the jQuery version in the dojo and check again.
Regards,
Ianko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Ianko,
The jquery version does not influence the kendo code. I have investigated and the release of version 2019.1.220 contains the code for the treeview:
"itemElement: ... class=\'#= r.toggleButtonClass(item) #\'/>' + '# } #'"
while the dojo has a different code:
"itemElement: ... class=\'#= r.toggleButtonClass(item) #\'></span>' + '# } #'"
From my investigation this was the problem that I had. Unfortunately I do not have access to the git to see when was it modified.
So my question would be: why do I have the release version 2019.1.220 different than the one that telerik considers as released.
Hi Dan,
This change shown is released with the 2020 R2 version - 2020.2.513. The 2019.1.220 version does not include this change. There is no technical way for you to have the 2019.1.220 version that is somehow different from the one shipped or used in the dojo (where the same shipped code is used) - https://kendo.cdn.telerik.com/2019.1.220/js/kendo.all.min.js.
If you want the fix in your application I suggest you to consider upgrading the Kendo scripts.
Regards,
Ianko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Ianko,
That is exactly my problem since that change was done with 2020 R2 how come when I select the version 2019 R1 SP1 I can not reproduce the problem. Does this mean that the selection of older version in dojo does not work and the dojo works only with the latest version?
Hi Ianko,
You might have been right from the start with the jquery code. I assume that the template is using some jquery feature. Cause I see that even though the code for 2019 R1 SP1 is the same I still can not reproduce. I am not using the jquery from kendo but the official one and maybe the version that I have might not work with the 2019 R1 SP1 version.
Thank you for your investigation.
Hello Dan,
Almost all of the Kendo UI for jQuery suite depends on jQuery logic and it is Kendo versions are closely coupled with specific jQuery versions: https://docs.telerik.com/kendo-ui/intro/supporting/jquery-support.
The change to the templates in 2020 R2 is related because of a major change in jQuery. And it aims to provide support for the latest jQuery. Shortly, you have two options:
- either to keep the old Kendo version and change the jQuery version according to the table linked above.
- or upgrade the Kendo version and keep the more recent version of jQuery.
Regards,
Ianko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Ianko,
Thank you for the link. Indeed I have updated the jquery to 3.4.1 and did not think that it might break the telerik code. At least the controls that I used in the past seemed to worked correctly.