Hi i have been having big problems with this, i have looked through all the documentation which explains how to put an editor on a page but doesnt go into how to save information or get it from a database.
I managed to retrieve some content from my database and put it in the editor (just some text "test text") by using the .text property in the code-behind (editor.text = datasource). I then edit the text in the editor click save and then try to save the information in the code-behind back to the SQL database a bit like this:
Sub Save()
Dim HTMl as string
HTML = editor.text
.save HTML(HTML)
End Sub
I have tried this with the save button in the editor and a save button i added to the screen and in both cases when i try to get the editor contents i can only get what i originally populated it with ("test text").
It's obvious im using the wrong properties but which should i use? i cannot figure it out!
If anyone can explain how to do this in asp.net and MSSql that would be great.
Thu, 08/23/2012 - 15:10
#1