Uncaught ReferenceError: kendo is not defined
My bundle:
bundles.Add(new ScriptBundle("~/bundles/allscripts").Include(
"~/Scripts/jquery-1.11.0.js",
"~/Scripts/modernizr-2.8.3.js",
"~/Scripts/kendo.all.js",
//"~/Scripts/kendo/kendo.aspnetmvc.min.js",
"~/Scripts/kendo.aspnetmvc.js",
"~/Scripts/kendo.culture.ru.js",
"~/Scripts/kendo.culture.kk.js",
"~/Scripts/kendo.messages.ru-RU.js",
"~/Scripts/kendo.culture.ru-RU.js",
"~/Scripts/bootstrap.js",
"~/Scripts/lightbox.js",
"~/Scripts/script.js",
"~/Scripts/jquery.jcarousel.pack.js",
"~/Scripts/kendo.modernizr.custom.js"));
I had an issue where I tried to upgrade Kendo and all the files were moved out of Scripts/kendo and into Scripts/kendo/<version>.
In that case, you can either add the version to your bundle config or just move the files back to the kendo directory. You'll have to do this for both Scripts and Content.
I had to add the below lines in my /Views/Shared/_Layout.cshtml file :
@Styles.Render("~/Content/telerik")
@Scripts.Render("~/bundles/telerik")
after these lines:
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
@Scripts.Render("~/bundles/jquery")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With