Editor iframe doesn't get removed on destroy

2 posts, 0 answers
  1. Marcel
    Marcel avatar
    36 posts
    Member since:
    Apr 2011

    Posted 25 Aug 2014 Link to this post

    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




  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 26 Aug 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top