HTMLEditor AjaxControlToolkit - iframe issue after DOM change RRS feed

  • Question

  • User1963642408 posted


    I'm having troubles with the HTMLEditor component in the AjaxControlToolkit version 3.0.3.

    I need to move the HTMLEditor from one div of the web page to another one. I'm doing it using Jquery's append method (I've also tried with the corresponding javascript functions).

    The problem is that after the HTMLEditor has been moved the Color Picker and other Popups components of the HTMLEditor do not work. I took at look at the code before and after moving the HTMLEditor around, and I found out that the #document reference for the ColorPicker iframe is lost, seems like that the iframe is being reset after the change in the DOM.

    I know that the HTMLEditorExtender do not present this behaviour but I have a dependence on version 3.0.3 and upgrading would imply a lot of work since I'd need to rewrite a custom HTMLEditor that we have.

    What can I do? Any ideas?

    Thanks in advance.

    Monday, March 24, 2014 1:17 PM