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

[Solved] .Content does not work

2 Answers 76 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 14 Oct 2009, 07:03 PM
Right out of the box I am putting a RadEditor on a page.  OnLoad is populating RadEditor.Content - like the documentation states - and this works.  But if I change the content, my changes are instantly forgotten.

I added a button to the page with an event to a function.  In the function I attempted to write the changes back to SQL and nothing happened.  After an hour or so of assuming that my DB code was bad, I threw a Response.Write(editor.Content); in my code and the content after the button click is the same as the initial content on page load; any changes that I make do not appear.

I do not see any reason why this should not be working.  Is there some sort of editor.CommitChanges() that I am not seeing in the documentation?

2 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 15 Oct 2009, 10:05 PM
If you would be interested in doing this client-side the following documentation article could provide with some information.
0
Rumen
Telerik team
answered on 19 Oct 2009, 12:41 PM
Hi Schlurk,

If you experience this problem in Firefox then the following KB article will be helpful: 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.
Tags
Editor
Asked by
Mike
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Rumen
Telerik team
Share this question
or