I am trying to add kendo UI for jQuery in my application. I found it to more efficient when developing data intensive applications :
I have added all scripts required as follows :
in my _Layout.cshteml file.
I have discovered that bundles.json adds another instance of Jquery and i removed it.
but when i run my application it does not render and throws the below :
There are multiple ways to solve this.
First of all check to see if the scripts are loading and check if the path is correct. Sometime it is to get the path to file. To make it easy, Use one of the existing folders and just copy a test file to capture the path.
For your ref. All versions below works for me.
Advise, Try to keep the folder structure clean. It looks like you are trying to version control using folder. I would recommend remove that and maintain a readme file with the version you want to track.
I managed to solve it by doing the following :
- Open bundles.json file
- find "view-resources/Areas/MIS/Views/_Bundles/account-layout-libs.min.js" and "view-resources/Areas/MIS/Views/_Bundles/app-layout-libs.min.js"
- then remove "node_modules/jquery/dist/jquery.js",
- Re run npm run create-bundles
- Then restart your application
- This worked perfectly.