简体   繁体   English

在MVC中使用角路由在dom中的dom视图中准备好dom前准备好了的kendo网格

[英]kendo grid loaded before dom is ready in partial views in mvc with angular routing

When full page refresh scripts ordered properly,application works fine. 正确订购整页刷新脚本后,应用程序可以正常运行。 Problem when load the partial view , html markup loaded first,after that scripts gets loaded , so its saying error. 加载局部视图时出现问题,该脚本加载后首先加载html标记,因此其说法是错误的。

Error : kendo requires jquery. 错误剑道需要jquery。

How to avoid this . 如何避免这种情况。

markup in partial view is 部分视图中的标记是

Partners 伙伴

<div id="Grid" class="hrScrollOut" kendo-grid k-options="gridOptions" k-rebind="gridOptionsPes">

Script order changing when navigate the routing with events. 当使用事件导航路由时,脚本顺序更改。

Kendo load before Jquery. Kendo在Jquery之前加载。 In page Refresh, Scripts ordered is correct. 在页面刷新中,订购的脚本正确。

Script order is 脚本顺序为

If you use "_Layout.cshtml" import the JQuery file and Kendo JS in it. 如果使用“ _Layout.cshtml”,请导入JQuery文件和Kendo JS。 Where are you referring the JS file for Kendo 您在哪里参考剑道的JS文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM