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

Jquery version in Telerik

7 Answers 299 Views
Documentation and Tutorials
This is a migrated thread and some comments may be shown as answers.
Marcus
Top achievements
Rank 1
Marcus asked on 30 Sep 2014, 11:06 AM
Hi

I'm looking into what the effects would be to upgrade jquery to the latest version in our web site. We do currently have jquery 1.6 and would like to upgrade it to 1.11. The telerik version we use are from Q1 2011. What I would like to have a confirmation on is wheter telerik use it's own version of jquery that is not registered in the global namespace. If it is not registered gloablly I guess it would mean that our telerik components will work just fine even though we are upgrading jquery for the rest of our site.

7 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 02 Oct 2014, 12:07 PM

Hi Marcus,

The jQuery we bring to the page is registered in the $telerik.$ variable and we use the noConflict() jQuery method to make sure we do not use the global scope variables (window.$, window.jQuery): $telerik.$ = jQuery.noConflict(true);

We also intend to upgrade to jQuery 1.11 for the Q3 2014 release of the controls which is due in about three weeks from now.

That being said, upgrading your own jQuery should not affect our controls and vice versa.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Rimika
Top achievements
Rank 1
answered on 21 Sep 2018, 11:51 PM

Hi Marin,

Our project is upgrading Jquery from 1.10 to the latest 3.3.And we have many telerik controls , of version 2012.After jquery upgrade telerik controls stop loading because old telerik lib files contain deprecated functions of jquery causing lots of errors.This gets resolved either with jquery migrate , which we cannot use because of security issues as reported by client.The other option is changing telerik controls to latest kendo controls, which is little complex in our case.Do you have any other suggestion for this issue.

0
Rimika
Top achievements
Rank 1
answered on 21 Sep 2018, 11:53 PM
Hi Marin,
Our project is upgrading Jquery from 1.10 to the latest 3.3.And we have many telerik controls , of version 2012.After jquery upgrade telerik controls stop loading because old telerik lib files contain deprecated functions of jquery causing lots of errors.This gets resolved with jquery migrate , which we cannot use because of security issues as reported by client.The other option is changing telerik controls to latest kendo controls, which is little complex in our case.Do you have any other suggestion for this issue.
0
Marin Bratanov
Telerik team
answered on 24 Sep 2018, 10:55 AM
Hello Rimika,

In 2017 and 2018 we made a lot of improvements to facilitate jQuery 3, so if you use the latest version of the controls you should not get such errors.

The problem you would face is what we encoutered when we upgraded to jQuery 3.3.1 - its 'use strict' breaks the MS AJAX framework under Firefox and many postbacks will no longer happen, but will throw errors: https://www.telerik.com/forums/known-issues-and-important-changes#KKI7NGE4P0K-jwQGL525dA.

So, for R2 2018 SP1 we reverted to 1.12.4 to avoid the "security issue" that exists in 1.11.1 and tends to get us flagged (let's leave off the debate whether it is a real issue, since even the jQuery team did not believe so but caved to peer pressure): https://www.telerik.com/forums/known-issues-and-important-changes#gDubpuLex0i1EeFOgoSbyQ.

With all that said, if you do not disable the jQuery we bring (https://docs.telerik.com/devtools/aspnet-ajax/controls/scriptmanager/disabling-the-embedded-jquery), our controls will use it and will keep working without issues. This will allow your project to use jQuery 3 for other tasks. If you want our controls to use the newer jQuery, the options and caveats are listed above.


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Rimika
Top achievements
Rank 1
answered on 24 Sep 2018, 05:27 PM
Did you mean that Telerik 2012.2.801 should be upgraded to latest version to avoid any jquery upgrade issue?
0
Rimika
Top achievements
Rank 1
answered on 24 Sep 2018, 06:31 PM
Because I am facing issues with Tgrid, Tmenus ,Tcharts which were part of 2012 version of Telerik.And the latest 2018 version of kendo works fine.
0
Marin Bratanov
Telerik team
answered on 25 Sep 2018, 11:35 AM
Hi Rimika,

Did you mean that Telerik 2012.2.801 should be upgraded to latest version to avoid any jquery upgrade issue? - yes.

In the same way that the latest Kendo version works well with other modern components, in a similar way the UI for ASP.NET AJAX suite latest version works better with modern components and browsers: https://docs.telerik.com/devtools/aspnet-ajax/licensing/old-versions-support-policy.


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Documentation and Tutorials
Asked by
Marcus
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Rimika
Top achievements
Rank 1
Share this question
or