<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: RichText Box formatting</title><link>https://www.infopathdev.com:443/forums/thread/42136.aspx</link><pubDate>Wed, 27 May 2009 07:38:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42136</guid><dc:creator>arunk.krish</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42136.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42136</wfw:commentRss><description>&lt;p&gt;Many Thanks for your reply.&lt;/p&gt;
&lt;p&gt;Even I tried with passing the text as XML Node to a Web Service and setting XML return type as datasource for RTB from Webservice (WS).&lt;/p&gt;
&lt;p&gt;As the Data type of XPath, i.e. RTB.SetValue(&amp;quot;&lt;strong&gt;XML Node returned by webservice&lt;/strong&gt;&amp;quot;) is string,&amp;nbsp; the XHTML tags returned by Webservice XML are also treated as string and appended to original text.&lt;/p&gt;</description></item><item><title>Re: RichText Box formatting</title><link>https://www.infopathdev.com:443/forums/thread/42131.aspx</link><pubDate>Wed, 27 May 2009 07:25:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42131</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42131.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42131</wfw:commentRss><description>&lt;p&gt;Sorry Afunk.Kfish but you just can&amp;#39;t do it. It&amp;#39;s too hard. Believe me, we&amp;#39;ve tried. &lt;/p&gt;</description></item><item><title>RichText Box formatting</title><link>https://www.infopathdev.com:443/forums/thread/41862.aspx</link><pubDate>Tue, 19 May 2009 12:55:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41862</guid><dc:creator>arunk.krish</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41862.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41862</wfw:commentRss><description>&lt;h2&gt;&lt;a class="question-hyperlink" href="http://stackoverflow.com/questions/287352/how-can-i-change-the-textcolor-of-an-infopath-textfield" rel="canonical"&gt;How can I set the formatting of an InfoPath RichTextBox programatically?&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I am setting the RichTextBox value through code behind like below.&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;strong&gt;APRemarks.SetValue(node.SelectSingleNode(&lt;/strong&gt;&lt;/font&gt;&lt;strong&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/my:myFields/my:CommentsSection/my:txtComments&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).ToString())&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;When I try to enter multiline text, the richtext box formatting like font, paragraph breaks, &amp;lt;br&amp;gt;, style is not appearing during runtime.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Can anyone please help me to achieve this.&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;Thanks in Advance.&lt;/p&gt;</description></item></channel></rss>