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

[Solved] Different behavior between .all.min.js and .all.js file

3 Answers 780 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eurotracs
Top achievements
Rank 1
Eurotracs asked on 28 Jan 2015, 10:30 AM
In our project, we have attached some events to the grid's dataSource.
We are having inconsistent behavior and the only difference between the code is the normal and minified version.

This is what we are doing:

- Create the grid with autoBind disabled
- Update the options of the grid (with some other settings) and set autoBind enabled this time
- We add an item and we press save (which calls the grid.saveChanges()) method.

In the normal version everything is working as expected (we have eventlisteners attached to the requestStart and requestEnd event of the dataSource and they work perfectly).
However, in the minified version, it does not work as it does with the normal version. Our eventlisteners (requestStart and requestEnd) never get called.

Is there any report open about this issue?
I would love to create a Dojo about this issue, but I'm unable to insert an item into your example datasource.

Regards

3 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 30 Jan 2015, 08:44 AM
Hello,

Minified script does not differ from the non minified one. Could you please confirm that the scripts that you use are the same Kendo UI version?

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Eurotracs
Top achievements
Rank 1
answered on 30 Jan 2015, 08:47 AM
Hi

Yes, I can confirm both scripts are at the same version (comments above the scripts).

Kind regards
0
Alexander Valchev
Telerik team
answered on 30 Jan 2015, 12:30 PM
Hello,

Is it possible for you to set up a small but runnable Kendo Dojo test page with mock data? In this way I will be able to examine your exact scenario in details and assist you further.
Looking forward to your reply.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Eurotracs
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Eurotracs
Top achievements
Rank 1
Share this question
or