This is a migrated thread and some comments may be shown as answers.

KENDO MENU problem

4 Answers 319 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adriano
Top achievements
Rank 1
Adriano asked on 28 Apr 2017, 07:47 AM

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!

I have a problem with a Kendo menu. We are using version 2017.1.223 (last) and we tried to create a new MVC solution and tried to insert a menu using the examples we found in the following link. If you paste HTML5 code everything works perfectly, but if we use ASP.NET MVC code, we get the following error. Can anyone help us solve the problem?
I have a problem with a Kendo menu. We are using version 2017.1.223 (last) and we tried to create a new MVC solution and tried to insert a menu using the examples we found in the following link. If you paste HTML5 code everything works perfectly, but if we use ASP.NET MVC code, we get the following error. Can anyone help us solve the problem?
I have a problem with a Kendo menu. We are using version 2017.1.223 (last) and we tried to create a new MVC solution and tried to insert a menu using the examples we found in the following link. If you paste HTML5 code everything works perfectly, but if we use ASP.NET MVC code, we get the following error. Can anyone help us solve the problem?

4 Answers, 1 is accepted

Sort by
0
Accepted
Nencho
Telerik team
answered on 28 Apr 2017, 12:04 PM
Hello Adriano,

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
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Adriano
Top achievements
Rank 1
answered on 28 Apr 2017, 12:45 PM

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!

:)

 

0
imane
Top achievements
Rank 1
answered on 31 Dec 2017, 12:04 AM

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

 

0
Veselin Tsvetanov
Telerik team
answered on 02 Jan 2018, 09:50 AM
Hi Imane,

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
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Adriano
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Adriano
Top achievements
Rank 1
imane
Top achievements
Rank 1
Veselin Tsvetanov
Telerik team
Share this question
or