2 posts, 0 answers
  1. SamVanity
    SamVanity avatar
    154 posts
    Member since:
    Apr 2006

    Posted 20 Jun 2012 Link to this post


    what's the deal about the new Telerik.ScriptManager.EnableEmbeddedjQuery feature? I look at the js produced and I can only see one difference:

    /* START Telerik.Web.UI.Common.jQueryExternal.js */
    if(typeof $telerik.$==="undefined"){$telerik.$=window.jQuery;
    /* END Telerik.Web.UI.Common.jQueryExternal.js */
    /* START Telerik.Web.UI.Calendar.RadDatePicker.js */

    The jQueryExternal.js is embedded in front of the RadDatePicker.js.. it actually solved a $telerik.$ not defined problem I had with the RadDatePicker on some pages. And on some pages the above code wasn't injected in the js.

    What's the correct way to use this new feature? Is the above the only difference this feature is gonna make and is it only for RadDatePicker?

    By the way, I am adding my own "Telerik.Web.UI.Common.jQuery.js" and "Telerik.Web.UI.Common.jQueryInclude.js" in the code through RadScriptManager.
  2. Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 25 Jun 2012 Link to this post

    Hi Sam,

    The idea of the new functionality is to allow the developer to provide a different JQuery version than the build-in one. More information on the matter could be found in the following help article here. If the build-in JQuery is disabled there is not point of adding the following two scripts:


    Kind regards,
    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top