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

[Solved] RadEditor in an UpdatePanel

2 Answers 120 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Michael Pullella
Top achievements
Rank 1
Michael Pullella asked on 24 Jan 2010, 02:56 PM
Hi

I have a radeditor in an update panel and a button that sets the format of the content of the editor by doing editor.pasteHtml().

If I make my updates to the editor, then get the content of the editor by using this.editorExample.Content via a regular postback, the content is correct.  However, when I put the editor in an updatePanel, make some format changes and do a partial postback, when I access the content of the editor, it does not know about the new format changes I have made.  I assume this has to do with the fact that there is a hidden iFrame which is not getting the updates in the partial postback, but is there a way I can access the correct content by using something other than an updatepanel (maybe a RadXMLHttpPanel)?

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 26 Jan 2010, 11:42 AM
Hi Michael,

Please, see the following KB article which provides guidance how to solve this problem: RadEditor Content Not Saved After Ajax Update in Firefox.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Michael Pullella
Top achievements
Rank 1
answered on 26 Jan 2010, 01:25 PM
Thanks

Not a firefox issue... I was in IE... The problem was that I was using an UpdatePanel.  Switched over to the RadXMLHttpPanel and it resolved the issue.
Tags
Editor
Asked by
Michael Pullella
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Michael Pullella
Top achievements
Rank 1
Share this question
or