Jquery version in Telerik

8 posts, 0 answers
  1. Marcus
    Marcus avatar
    4 posts
    Member since:
    Jul 2013

    Posted 30 Sep 2014 Link to this post

    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.
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4761 posts

    Posted 02 Oct 2014 Link to this post

    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.

     
  3. Rimika
    Rimika avatar
    4 posts
    Member since:
    Aug 2018

    Posted 21 Sep 2018 in reply to Marin Bratanov Link to this post

    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.

  4. Rimika
    Rimika avatar
    4 posts
    Member since:
    Aug 2018

    Posted 21 Sep 2018 in reply to Marin Bratanov Link to this post

    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.
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4761 posts

    Posted 24 Sep 2018 Link to this post

    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.
  6. Rimika
    Rimika avatar
    4 posts
    Member since:
    Aug 2018

    Posted 24 Sep 2018 in reply to Marin Bratanov Link to this post

    Did you mean that Telerik 2012.2.801 should be upgraded to latest version to avoid any jquery upgrade issue?
  7. Rimika
    Rimika avatar
    4 posts
    Member since:
    Aug 2018

    Posted 24 Sep 2018 Link to this post

    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.
  8. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4761 posts

    Posted 25 Sep 2018 Link to this post

    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.
Back to Top