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

getting radeditor content using javascript

3 Answers 242 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 22 Feb 2013, 04:11 PM
Hi

I have a page where am using Iframe, which has the source to another aspx page, which has radedtor.

I want to get this radeditor's content using Javascript fome the page that has the iframe.

Is this possible?

Thanks

3 Answers, 1 is accepted

Sort by
0
MasterChiefMasterChef
Top achievements
Rank 2
answered on 22 Feb 2013, 06:15 PM
Hi Sam,

Make sure to check out the RadEditor documentation for specifics on saving content. There are numerous examples of getting and saving content using C#, but none showing the functionality in javascript. Hopefully getting content in the code behind is a possibility for you.

Good luck,
Master Chief
0
Sam
Top achievements
Rank 1
answered on 23 Feb 2013, 11:09 AM
Hi

Thanks for your reply but I need to do it using javascript code behind is not an option..
0
Stanimir
Telerik team
answered on 26 Feb 2013, 07:14 AM
Hi,

In the following article you can get familiar with the RadEditor 's Client-Side API http://www.telerik.com/help/aspnet-ajax/editor-getting-familiar-with-client-side-api.html.

Here is the page describing the get_html client side method: http://www.telerik.com/help/aspnet-ajax/editor-get-html.html.

Also check the Editor - Client-side API online demo.


All the best,
Stanimir
the Telerik team
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 their blog feed now.
Tags
Editor
Asked by
Sam
Top achievements
Rank 1
Answers by
MasterChiefMasterChef
Top achievements
Rank 2
Sam
Top achievements
Rank 1
Stanimir
Telerik team
Share this question
or