How to add content to HTMLEditor on load

I have an HTMLEditor control on a web form. (ID=Editor1) I need to add text from an asp textbox (ID=Textbox1) when the editor loads. I then need to paste the edited text back to Textbox1. For some reason this seems to be harder than it should be. Any help would be appreciated.
lizziesboyAsked:
Who is Participating?
 
strickddCommented:
This all comes down the the HTML Editor you are using. Most have javascript that you can invoke that are something like:

myEditorObj.Text = document.getElementById('<%= Textbox1.ClientID %>').val
document.getElementById('<%= Textbox1.ClientID %>').val = myEditorObj.FormattedText
0
 
lizziesboyAuthor Commented:
It helped me find what I needed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.