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.
None
0 Points
1 Post
HTMLEditor AjaxControlToolkit - iframe issue after DOM change
Mar 24, 2014 01:17 PM|Jean Carlo T.|LINK
Hello,
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.
ajaxcontrolkit iframe htmleditor
All-Star
30411 Points
3628 Posts
Re: HTMLEditor AjaxControlToolkit - iframe issue after DOM change
Mar 26, 2014 02:03 AM|Fuxiang Zhang - MSFT|LINK
Hi Jean,
Thank you post the issue to our forum.
If you want to use the HtmlEditorExtender, please follow below article.
http://www.asp.net/AjaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx
I suggest you upgrade your AjaxControlToolkit for lateast version because it more reliable and less bug then early version.
https://ajaxcontroltoolkit.codeplex.com/releases/view/116091
Hope that helps, thanks.
Best Regards!
ajaxcontrolkit iframe htmleditor