Hello! We have a problem with your KENDO UI Menu.
We are using the version 2017.1.223 (the last) and we tried to create a new Visual Studio 2015 MVC solution and tried to insert the menu using the examples we found in the following links.
http://demos.telerik.com/kendo-ui/menu/index
http://demos.telerik.com/aspnet-mvc/menu/index
If you paste HTML5 code everything works perfectly, but if we use ASP.NET MVC code, we get the following error
Uncaught TypeError: kendo.syncReady is not a function
Can anyone help us solve the problem? (because we want use Razor Syntax for C#)
Thanks!
4 Answers, 1 is accepted
The experienced error is due to a missing of the syncReady method, which is introduced in our latest official version. Hence, you need to ensure that the scripts, containing that method are included ( kendo.aspnetmvc.min.js). You and either reference our CDN or the local script file on your page.
This topic is largely discussed in the following forum thread as well:
http://www.telerik.com/forums/kendo-synchready-is-not-a-function-error
Regards,
Nencho
Telerik by Progress
Thank you Nencho.
We fixed this problem changing the file BundleConfig.cs like this
....
bundles.Add(new ScriptBundle("~/bundles/Libraries").Include(
"~/Scripts/kendo/2017.1.223/jquery.min.js",
"~/Scripts/kendo/2017.1.223/jszip.min.js",
"~/Scripts/kendo/2017.1.223/angular.min.js"));
bundles.Add(new ScriptBundle("~/bundles/kendo").Include(
"~/Scripts/kendo/2017.1.223/kendo.all.min.js",
"~/Scripts/kendo/2017.1.223/kendo.aspnetmvc.min.js"
));
.....
and adding, in the tag >HEAD> of my "_Layout.cshtml" (and in all pages where needed)
.....
@Scripts.Render("~/bundles/Libraries")
@Styles.Render("~/Content/css/kendo")
....
Perfect!
:)
hi i have problem when i want add controller scaffolding and chose for example grid and choose option i don t find button add
please i want to help
As the issue observed at your end is not related to the previously discussed problem in this thread, I would like to ask you to open a new ticket / forum question. This way we will keep each thread focused and we will be able to offer you the best targeted assistance for each case.
Regards,
Veselin Tsvetanov
Progress Telerik