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

Uncaught TypeError: Cannot call method 'open' of undefined kendo.web.min.js

4 Answers 448 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shabtai
Top achievements
Rank 1
Shabtai asked on 25 Feb 2013, 08:57 AM
Hello,

I'm getting following error on menu item mouse hover event:
Uncaught TypeError: Cannot call method 'open' of undefined  kendo.web.min.js:20

Where can I get full (not minimized) versions of kendo js files?

Thank you in advance

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 25 Feb 2013, 10:57 AM
Hello Shabtai,

 The unminified JavaScript source code is available in the /src/js directory of the Kendo UI distribution. 

All the best,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Shabtai
Top achievements
Rank 1
answered on 05 Mar 2013, 06:06 PM
I'm attaching sample project where I get the error.

In order to reproduce the problem you need to go straight (without navigating to the other items!) to the second main menu item (named as 'problematic') and under 'subproblematic' you click on 'RUN'.

After opening the wizard click on 'GO BACK' green button and try to hover other items. You get no dropdown...

Interesting that if you do hover all items  (even without entering) at the start, the problem does not occur.

I know that problem is in Kendo DropDownList which is placed inside the wizard....

Would be glad to receive your prompt answer.

THANKS!

Shabtai

0
Daniel
Telerik team
answered on 08 Mar 2013, 06:15 AM
Hi Shabtai,

The problem occurs because jQuery is being loaded again from the partial view. jQuery should be loaded only once. Removing it should resolve the problem. I attached the modified project. 

Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Shabtai
Top achievements
Rank 1
answered on 10 Mar 2013, 09:25 AM
I just was going to reply it still doesn't work but after I removed the line in MultiSelectDDL
<script src="@Url.Content("~/Scripts/jquery-1.8.3.min.js")" type="text/javascript"></script>

and after I put onSelect event before DIV with DropDownList it started to work (don't know why did I need to do so?)

Thank you so much!


Tags
General Discussions
Asked by
Shabtai
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Shabtai
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or