Kendo UI MultiSelectBox update kendo.all.js to newest version

时间:2016-12-09 12:57:33

标签: javascript jquery kendo-ui dojo telerik

I found this JSFIddle a while ago that uses telerik kendoUI. http://jsfiddle.net/bDvkQ/1038/

In there is a Script "kendo.all.min" version: 2012.3.1114

I want to use a newer version of it (2016.3.1028) but when I try to use it I get an Error message: The Object doesn't support the type or method "get"

The Problem is that I also added a kendoUI Export to excel http://dojo.telerik.com/ to my Project and it is trowing an Error that "kendo.ooxml.Workbook" is not a method if I use the 2012.2.1114 version.

Here are the JavaScript includes:

<script src="https://kendo.cdn.telerik.com/2016.3.1028/js/jquery.min‌​.js"></script> 
<script src="https://kendo.cdn.telerik.com/2016.3.1028/js/jszip.min.‌​js"></script> 
<script src="https://kendo.cdn.telerik.com/2016.3.1028/js/kendo.all.‌​min.js"></script>
<script src="https://kendo.cdn.telerik.com/2016.3.1028/js/cultures/k‌​endo.culture.de-DE.m‌​in.js"></script>

1 个答案:

答案 0 :(得分:1)

我认为这只是剑道引入了足够的变化,原始的jsfiddle不再适用于较新版本的kendo(excel导出不适用于旧版本)。

见github.com/telerik/kendo-ui-core/issues/680。

因此,您可能需要修复自定义实现以使用较新的kendo(docs.telerik.com/kendo-ui/intro/widget-basics / ...)或使用其中一个备选方案(实际的MultiSelect小部件与autoClose:false或者Telerik&#34;推荐&#34;从github链接的方式)

仅供参考,jsfiddle代码仍然适用于2012.2.913:http://dojo.telerik.com/@Stephen/uveTEb 但不再适用于下一个发布的版本(2013.1.319):http://dojo.telerik.com/@Stephen/EmASi