Posted 15 Dec 2014
Link to this post
I am using Listview in one of my asp.net mvc page. Data is getting loaded into listview by making an ajax call to the serevr. it is working fine when I have added kendo.all.min.js and kendo.aspnetmvc.min.js files on my page. kendo.all.min.js is 1.9 MB file and because of this my site is performing slow as browser sends a request to download this file first time.
I referred this page and http://docs.telerik.com/kendo-ui/install/custom#listview and found that for listview you need only some files to work with listview.
kendo.calendar.js (Editing feature)
kendo.popup.js (Editing feature)
kendo.datepicker.js (Editing feature)
kendo.userevents.js (Editing feature)
kendo.numerictextbox.js (Editing feature)
kendo.validator.js (Editing feature)
kendo.binder.js (Editing feature)
kendo.editable.js (Editing feature)
kendo.userevents.js (Selection feature)
kendo.selectable.js (Selection feature)
I tired with above 14 files and kendo.aspnetmvc.min.js file;(i think this is for Ajax call) on my page.
Script is not executing at all and it fails on client side itself. Error message on browser console says Uncaught TypeError: undefined is not a function and source file it suggest is kendo.listview.min.js.
I want to add only required files and not one big file (kendo.all.min.js) to improve the performance.
For your reference attached is my cshtml page; so that you can have a look at the code.
Could someone help me on this?