Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
555
WebHtmlEditor - Add text dynamically
posted

Hi, I am currently using a WebHtmlEditor inside an ASPX. I want to be able to post some HTML text dynamically into the Editor from another Hidden field on my page to allow for HTML editing.

I was trying to dynamically load data into the editor via Javascript using the following approach...

<ighedit:WebHtmlEditor ImageDirectory="/GlobalResources/Images/htmleditor/" Width="100%"
            ID="RTEditor" runat="server" ViewStateMode="Enabled" EnableViewState="true">
   <Toolbar>....</Toolbar>
</ighedit:WebHtmlEditor>

$('#RTEditor').html(myhtmltexthere);    <== Does not work

Can someone please help?

Parents
No Data
Reply Children
No Data