Paste Html into RTE at startup?

Jun 30, 2008 at 1:36 PM
Is there an function to paste existing html into the RTE at startup and view it in the Textview?

Short Question , hu? ;-)
Jun 30, 2008 at 3:53 PM
Hi ren,

If you set the Text property to whatever html you want to see that should work.

protected void Page_Load(object sender, EventArgs e)
     rte.Text = "<STRONG>Hi Ren!</STRONG></BR><I>Tags have disappeared</I>";

Hope this helps!
Jun 30, 2008 at 9:14 PM
Thank you, I´ve figured it out.

just added a funktion

function PasteExisting(result)
    richeditor.GetDocument().body.textContent= result;

into the startup.js , so I can call it by script

Thanks anyway