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

2 posts, 1 answers
  1. Randy
    Randy avatar
    12 posts
    Member since:
    Jan 2012

    Posted 03 Jun 2013 Link to this post

    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 
  2. Answer
    Vessy
    Admin
    Vessy avatar
    1982 posts

    Posted 06 Jun 2013 Link to this post

    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.
Back to Top