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

Pass RadEditor html content from IFrame to and from parent page in Javascript

1 Answer 68 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 03 Jun 2013, 11:57 PM
Hi,
Is it possible to pass the contents of the RadEditor to and from an IFrame and the parent page? We would like to add a web resource IFrame, utilizing the RadEditor, to our CRM Dynamics 2011 Online account. We want to be able to load some html from the parent page into the IFrame containing the Editor, edit the HTML in the Editor, then pass it back to the parent CRM page (entity) and save it back. The IFrame .aspx page and the parent CRM Online entity page are on different domains, of course, so not sure where to start with this. Any help, examples, or suggestions would be greatly appreciated!

Thank you very much!
Randy Sullivan 

1 Answer, 1 is accepted

Sort by
0
Accepted
Vessy
Telerik team
answered on 06 Jun 2013, 02:01 PM
Hello Randy,

You can use the Editor's get_html() method whenever you want to take its content and set_html() one when you want to insert some HTML directly into the control.

Should you require any additional information please do not hesitate to contact us again.

Regards,
Veselina Raykova
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Editor
Asked by
Randy
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or