+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Kendo aspnetmvc wrappers not compatible with page editor's requirejs?

Kendo aspnetmvc wrappers not compatible with page editor's requirejs?

5 posts, 0 answered
  1. Aaron
    Aaron avatar
    2 posts
    Registered:
    20 Jun 2013
    20 Mar 2014
    Link to this post

    I'm using  bringing in jQuery and KendoWeb into the master page using
     <sf:ResourceFile JavaScriptLibrary="JQuery" /> and <sf:ResourceFile JavaScriptLibrary="KendoWeb" />.

    These are working perfectly between both in both page-editing and non-page-editing mode.

    However, as soon as a I attempt to bring in kendo.aspnetmvc.min.js using the cdn, the page editor's RequireJS dies with"Mismatched anonymous define() module."

    What's the recommended way to bring kendo.aspnetmvc.min.js into a sitefinity site that maintains functionality in and out of page editor?

     


     

  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    09 Dec 2016
    25 Mar 2014
    Link to this post
    Hello Aaron,

    I believe we have answered your question in the support ticket.

    Regards,
    Sabrie Nedzhip
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. Steve
    Steve avatar
    3 posts
    Registered:
    12 Jun 2012
    26 Jun 2014
    Link to this post
    Sabrie, what is the solution to this?
  4. Aaron
    Aaron avatar
    2 posts
    Registered:
    20 Jun 2013
    30 Jun 2014
    Link to this post

    The solution proposed from support was to download a copy  of kendo.aspnetmvc.min.js locally and alter the file, removing the attempt to register itself with require.js. 

  5. Practiv
    Practiv avatar
    2 posts
    Registered:
    27 Jul 2015
    22 Oct 2015 in reply to Aaron
    Link to this post

    To anyone looking to solve this -  I don't know if this was the best way around the problem but when I download the kendo.aspnetmvc.min.js file as a custom download from here:

    http://www.telerik.com/download/custom-download

     I.e. Tick the box only;

    And include that in Sitefinity as kendo.custom-aspnetmvc.min.js it worked without a hitch. 

     

5 posts, 0 answered