<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Carige return appear as plain text and not as a new line</title><link>https://www.infopathdev.com:443/forums/thread/98362.aspx</link><pubDate>Thu, 17 Jul 2014 09:35:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98362</guid><dc:creator>mayaby</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98362.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=98362</wfw:commentRss><description>&lt;p&gt;i decided to change the rich textbox to textbox and on the Display tab, check “Paragraph breaks”. see c&lt;span class="hps"&gt;omplete solution&amp;nbsp;at &lt;a href="http://blogs.msdn.com/b/infopath/archive/2005/03/04/385577.aspx"&gt;http://blogs.msdn.com/b/infopath/archive/2005/03/04/385577.aspx&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;Maya&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Carige return appear as plain text and not as a new line</title><link>https://www.infopathdev.com:443/forums/thread/98318.aspx</link><pubDate>Mon, 14 Jul 2014 11:01:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98318</guid><dc:creator>mayaby</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98318.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=98318</wfw:commentRss><description>&lt;p&gt;how can i use the &amp;quot;enter&amp;quot; key and it will dispayed as a new line and not as a plain text&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Maya&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Carige return appear as plain text and not as a new line</title><link>https://www.infopathdev.com:443/forums/thread/98273.aspx</link><pubDate>Wed, 09 Jul 2014 05:55:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98273</guid><dc:creator>mayaby</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98273.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=98273</wfw:commentRss><description>&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;in my form i have a rich text field called &lt;font size="2"&gt;rtfNav1 &lt;/font&gt;that i want to copy to other rich text field, now when&amp;nbsp;rtfNav1 contain carige return&amp;nbsp;e.g&amp;nbsp;i write maya then &amp;quot;enter&amp;quot; &amp;nbsp;the text is displayed&amp;nbsp;as &amp;quot;&amp;lt;div xmlns=&amp;quot;&lt;a href="http://www.w3.org/1999/xhtml%22%3Emaya%3C/div"&gt;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;maya&amp;lt;/div&lt;/a&gt;&amp;gt;&lt;br /&gt;&amp;lt;div xmlns=&amp;quot;&lt;a href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;&amp;gt;&amp;nbsp;&amp;lt;/div&amp;gt;&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;my code:&lt;/p&gt;&lt;font size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; doc &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XmlDocument = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XmlDocument()&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; elm &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XmlElement = doc.CreateElement(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;div&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&lt;a href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;elm = doc.CreateElement(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;div&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;elm.InnerText = rtfNav1.InnerXml + elm.InnerText&lt;/p&gt;
&lt;p&gt;doc.AppendChild(elm)&lt;/p&gt;
&lt;p&gt;rtfNav.AppendChild(doc.DocumentElement.CreateNavigator())&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>