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

[Solved] Storing the html content of the radeditor texts

3 Answers 124 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John Yu
Top achievements
Rank 1
John Yu asked on 16 Jun 2008, 06:13 AM
I am using radeditor for storing some texts and notes. I want to store the contents in html format so that all the formating such as Bold,Italic or left aligned or bullets should be there when i reproduce the typed text in the radeditor in webpage.  I need to store the html content in database tables. 
I also need to know whether the storing html content is the right way or Is there any other way around.

Please let me know about this


3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Jun 2008, 11:06 AM
Hi John,

If you would like to obtain the editor's content with its HTML markup then you can do that with the Content server property of RadEditor. If you want to save the content in a Database, you can see the following help article on the subject: Save in database. You can also save the HTML content in an external file using the instructions and code here and here.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
John Yu
Top achievements
Rank 1
answered on 16 Jun 2008, 12:14 PM
Hi Rumen

Thanks for your immediate reply

I will try to get things right

If i cant, will get back
0
Rumen
Telerik team
answered on 16 Jun 2008, 12:24 PM
Hi John,

The code of both examples Save In Database and Save In File is available for test and modification in the RadControls for ASP.NET AJAX demo installation.

These are the default installation paths:

C:\Program Files\telerik\RadControls for ASPNET AJAX Q1 2008\Live Demos\Editor\Examples\SaveInExternalFile
C:\Program Files\telerik\RadControls for ASPNET AJAX Q1 2008\Live Demos\Editor\Examples\SaveInDatabase


Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
John Yu
Top achievements
Rank 1
Answers by
Rumen
Telerik team
John Yu
Top achievements
Rank 1
Share this question
or