Welcome Guest Search | Active Topics | Sign In | Register

Editor's save content Options
Tomas Urbina
Posted: Monday, November 23, 2009 12:27:34 PM
Rank: Member
Groups: Member

Joined: 1/9/2009
Posts: 15
Hi,
i search the way to save (by code) the content of editor. There is a save event but i don't know how use it.

I need save in a file the content, defining the name (of file) through code.
eo_support
Posted: Monday, November 23, 2009 12:37:59 PM
Rank: Administration
Groups: Administration

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

The Editor gives you HTML. How to use that HTML is totally up to you. You can display it, you can store it in DB, you can save it into a file, or you can totally discard it. It has nothing to do with the editor at all.

Save event occurs when user clicks the "Save" button. You will handle the event to do the actual saving.

Thanks
Tomas Urbina
Posted: Monday, November 23, 2009 12:50:12 PM
Rank: Member
Groups: Member

Joined: 1/9/2009
Posts: 15
but I do not want the user to click on save, I save the file automatically through code.

when the event occurs can save generated code saving it for me? as I do this?
eo_support
Posted: Monday, November 23, 2009 1:02:18 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Tomas Urbina wrote:
but I do not want the user to click on save, I save the file automatically through code.


Hi,

You are asking coding question that has nothing to do with our product. How would you automatically save a standard textbox's content through code? There is no difference between that and save contents with our editor. The Editor gives you a HTML string and that is the end of it. You will need to code everything else.

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.