简体   繁体   中英

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.

Error : kendo requires 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. In page Refresh, Scripts ordered is correct.

Script order is

If you use "_Layout.cshtml" import the JQuery file and Kendo JS in it. Where are you referring the JS file for Kendo

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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