<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
  <channel>
    <title>HtmlEditor</title>
    <link>http://www.itwriting.com/phorum/list.php?3</link>
    <description><![CDATA[For discussion of the .Net HTMLEditor control]]></description>
    <language>EN</language>
    <pubDate>Sat, 29 Sep 2007 14:03:21 +0100</pubDate>
    <lastBuildDate>Sat, 29 Sep 2007 14:03:21 +0100</lastBuildDate>
    <category>HtmlEditor</category>
    <generator>Phorum 5.1.25</generator>
    <ttl>60</ttl>
    <item>
      <title>Re: insert html by code</title>
      <link>http://www.itwriting.com/phorum/read.php?3,4026,4032#msg-4032</link>
      <author>Sylvain Lautrey</author>
      <description><![CDATA[Can you paste HTML such as &lt;script&gt;&lt;/script&gt; ? <br />
It doesn't work for me using the ActiveX Document (and not using mshtml).No error code returned, and if you watch through the DOM the script element is not there...]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,4026,4032#msg-4032</guid>
      <pubDate>Sat, 29 Sep 2007 14:03:21 +0100</pubDate>
    </item>
    <item>
      <title>Re: insert html by code</title>
      <link>http://www.itwriting.com/phorum/read.php?3,4026,4027#msg-4027</link>
      <author>someone</author>
      <description><![CDATA[I fixed it:<br />
private void InsertHtml(string sHTML)<br />
{<br />
mshtml.IHTMLTxtRange objSel = (mshtml.IHTMLTxtRange)heHTMLEditor.HtmlDocument2.GetSelection().createRange();<br />
objSel.pasteHTML(sHTML);<br />
}]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,4026,4027#msg-4027</guid>
      <pubDate>Mon, 27 Aug 2007 09:43:24 +0100</pubDate>
    </item>
    <item>
      <title>insert html by code</title>
      <link>http://www.itwriting.com/phorum/read.php?3,4026,4026#msg-4026</link>
      <author>someone</author>
      <description><![CDATA[I've downloaded the latest version from subversion, but I can't find a way to insert html at the current position.<br />
<br />
I used:<br />
private void InsertHtml(string sHTML)<br />
{<br />
mshtml.IHTMLTxtRange objSel = (mshtml.IHTMLTxtRange)heHTMLEditor.Document.selection.createRange();<br />
objSel.pasteHTML(sHTML);<br />
}]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,4026,4026#msg-4026</guid>
      <pubDate>Mon, 27 Aug 2007 09:04:26 +0100</pubDate>
    </item>
  </channel>
</rss>
