The Kendo UI directives require jQuery to be available before AngularJS with Kendo grid in routing template with Html5mode

隐身守侯 提交于 2019-12-21 14:59:09

问题


Why kendo load before Jquery in angular routing template with Kendo grid.

I have ordered the scripts, while clicking any event through angular routing templates getting this error in console.

Note: In page refresh, scripts loaded properly, the application works fine, not getting any error.

Only occurred in event routing. kendo load before jquery why.

order scripts :

    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
    <script src="https://code.angularjs.org/1.3.8/angular.js"></script>
    <script src="//kendo.cdn.telerik.com/2016.2.714/js/kendo.all.min.js"></script>
    <script src="https://code.angularjs.org/1.3.8/angular-sanitize.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.3.1/angular-ui-router.js"></script>

回答1:


I had the same issue: I was loading jQuery twice.




回答2:


Had the same issue. Resolved it by using the jQuery and angular that comes bundled with kendo



来源:https://stackoverflow.com/questions/38611672/the-kendo-ui-directives-require-jquery-to-be-available-before-angularjs-with-ken

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!