When I use popup editing, the dialog window created for the editing is appended to the DOM. If I do several rename/delete/add actions there are several k-window divs still attached to the DOM. It's unlikely to cause a problem, but I find it unexpected.
10 Answers, 1 is accepted
0
Hi Richard,
Atanas Korchev
the Telerik team
I agree that this is unexpected. We will try to fix this issue for the next internal build.
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
Brannon
Top achievements
Rank 1
answered on 15 Oct 2012, 08:47 PM
Any update on this issue. I am experiencing the same issue.
0
Hi,
Atanas Korchev
the Telerik team
This issue has been addressed in our latest official release - Q2 2012 Service Pack 1.
Greetings,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
Brannon
Top achievements
Rank 1
answered on 16 Oct 2012, 02:39 PM
I am using version 2012.2.913.340 and I still see the behavior. We have a window that is created in a partial view server-side using the MVC Helpers. What we are seeing is that each time the partial view is reloaded on the client a new window element is being appended to the DOM and the old element is not being removed. Effectively we get multiple instances of the window in the DOM.
0
Hello,
Atanas Korchev
the Telerik team
I can't reproduce this behavior in our popup editing online demo: http://demos.kendoui.com/web/grid/editing-popup.html Does it work as expected at your side? I've checked the DOM using the browser's developer toolbar.
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
Brannon
Top achievements
Rank 1
answered on 16 Oct 2012, 04:19 PM
Sorry, my issue is not occuring with the grid. I'm using the KendoWindow widget in a partial view. That's where I'm seeing the issue.
We have a partial view that contains a window widget created using the razor helper. When the partial view gets replaced in our main view I'm seeing duplicate window widgets in the DOM.
We have a partial view that contains a window widget created using the razor helper. When the partial view gets replaced in our main view I'm seeing duplicate window widgets in the DOM.
0
Hi,
Atanas Korchev
the Telerik team
This would happen if you don't call the window's destroy method.
Greetings,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
rufino
Top achievements
Rank 1
answered on 17 Oct 2012, 07:35 AM
The issue on several k-window divs still attached to the DOM was already resolved from the latest release. Now I added a calendar/datepicker widget to the popup window and noticed that k-calendar-container also appends multiple times to the DOM.
0
Brannon
Top achievements
Rank 1
answered on 17 Oct 2012, 02:56 PM
Isn’t 2012.2.913.340 the latest release? I’m still seeing the issue with k-window divs.
0
Hello,
Atanas Korchev
the Telerik team
Do you call the destroy method of the window? Remember that this thread was originally opened regarding the popup editor of the grid. You should call the destroy method of the window to cleanup.
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!