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

Editor iframe doesn't get removed on destroy

1 Answer 81 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Marcel
Top achievements
Rank 1
Marcel asked on 25 Aug 2014, 01:11 PM
Hello,

I have a SPA (MVVM) with several views, and 1 of those views has an Editor.
Each view basicly has a "code-behind" viewmodel, which takes care of the functionality of that view.
This includes initialization on creating and cleaning up on destroying the view.

So the Editor is created in the viewmodel constructor like this:

$("#businessnote_edit", element).kendoEditor({
  myEditorOptions
});

After my view and viewmodel got destroyed i noticed in Visual Studio that the main-document in Internet Explorer Always had an extra "blank" page.
So switching back and forth between another view and the view with the Editor ended in having multiple "blank" pages within the main-document.
After checking those pages i came to the conclusion that they were iFrames created by the Editor that never got removed.

Can you confirm this is a bug ?
In the meantime i just remove them manually.

Thanks in advance,
Marcel Brink




1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 26 Aug 2014, 12:07 PM
Hello Marcel,

The pasted code snippet is invalid JavaScript. Please submit a sample that reproduces the problem, as well as the required steps to reproduce it, in order for us to confirm it as a bug.

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