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

resource leak in popup edit sample

2 Answers 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jacob
Top achievements
Rank 1
Jacob asked on 30 Aug 2012, 04:11 PM
I have found out that the popup editor example for the grids leaks resources. See the following sample:
http://demos.kendoui.com/web/grid/editing-popup.html 

It creates a new "k-window" object every time the "Edit" button is clicked. Thus clicking the Edit button and editing multiple items populates the DOM with many "k-window" nodes which are added and are not cleaned up. You can observe this easily by using the object inspector of Chrome or a similar tool. This could cause problems on a mobile browser with memory constraints. Surely Kendo should reuse the same kendo window each time or destroy the old before creating a new one? Can anyone suggest a workaround for this bug?

2 Answers, 1 is accepted

Sort by
0
Jacob
Top achievements
Rank 1
answered on 31 Aug 2012, 07:57 PM
Just to let you know that I have migrated all my code from Kendo to ExtJS because of this issue and numerous limitations with the Kendo UI code. This is a shame as Kendo looks fantastic and has a lovely architecture, but at the moment there are too many limitations and bugs. I hope it improves in the future.
0
Atanas Korchev
Telerik team
answered on 03 Sep 2012, 06:39 AM
Hi,

 This issue has been addressed for some time and the fix is available in the latest internal build.

Regards,
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!
Tags
Grid
Asked by
Jacob
Top achievements
Rank 1
Answers by
Jacob
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or