Welcome Guest Search | Active Topics | Sign In | Register

save the input from a HTML editor to a database Options
Itamar Budin
Posted: Thursday, March 26, 2009 7:01:32 PM

Rank: Newbie
Groups: Member

Joined: 3/26/2009
Posts: 2
Hi

I want to be able to save the input from a HTML editor to a database.

The trick is that I want to be able to display the text using a request.write method or label.text with all the added features of the HTML editor

Can it be done?


Insanity: doing the same thing over and over again and expecting different results.
Albert Einstein, (attributed)

US (German-born) physicist (1879 - 1955)
eo_support
Posted: Thursday, March 26, 2009 7:50:59 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You would get the HTML from the Editor through this property:

http://doc.essentialobjects.com/library/1/eo.web.editor.html.aspx

The property returns the contents as a string. Once you have that string, you can do whatever you want such as writing it to the database, display using request.write or label.text --- anything you can do with a string.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.