<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/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>SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx</link><description>Frustration aplenty with this one. Logic dictated that the RichTextField control in SharePoint would have been the one to use... but no, it&amp;#39;s not (as i found out)...so how do you use that shiny nice Rich Text Box control in a custom web part or user</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1709181</link><pubDate>Fri, 24 Jul 2009 22:58:17 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1709181</guid><dc:creator>Ram</dc:creator><description>&lt;p&gt;I am using this control in a MOSS page and I want to have bigger font size by default. I have tried applying style and changing the font-size property but nothing works. Can someone tell me how to do it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1709181" width="1" height="1"&gt;</description></item><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1701878</link><pubDate>Wed, 15 Jul 2009 11:20:15 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1701878</guid><dc:creator>Narayana Reddy</dc:creator><description>&lt;p&gt;Thank you so much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1701878" width="1" height="1"&gt;</description></item><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1696193</link><pubDate>Mon, 22 Jun 2009 13:59:47 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1696193</guid><dc:creator>David Lozzi</dc:creator><description>&lt;p&gt;Awesome. Thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1696193" width="1" height="1"&gt;</description></item><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1693512</link><pubDate>Mon, 01 Jun 2009 06:44:55 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1693512</guid><dc:creator>Mohan</dc:creator><description>&lt;p&gt;I&amp;#39;m able to put rich text control. When I try to put only text as paragraphs that saves to the list. But When I try to edit the same Paragraph does&amp;#39;nt preserve in the textbox. &amp;nbsp; &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1693512" width="1" height="1"&gt;</description></item><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1681355</link><pubDate>Wed, 25 Mar 2009 15:53:27 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1681355</guid><dc:creator>TextMode="MultiLine"</dc:creator><description>&lt;p&gt;For me, it needed the following property to look like richtext instead of a textbox:&lt;/p&gt;
&lt;p&gt;TextMode=&amp;quot;MultiLine&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1681355" width="1" height="1"&gt;</description></item><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1675789</link><pubDate>Thu, 05 Mar 2009 05:58:28 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1675789</guid><dc:creator>Dan</dc:creator><description>&lt;p&gt;Does this work in WSS?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1675789" width="1" height="1"&gt;</description></item><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1675788</link><pubDate>Thu, 05 Mar 2009 05:58:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1675788</guid><dc:creator>Atul</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I used the example code that was given above, It does not seem to work. I see a normal text box only? But when i give Font-Bold=&amp;quot;true&amp;quot; it reflects on the page but i dont get all the rich text controls like the one shown in the snapshot above. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1675788" width="1" height="1"&gt;</description></item><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1673281</link><pubDate>Mon, 23 Feb 2009 09:28:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1673281</guid><dc:creator>Martin</dc:creator><description>&lt;p&gt;Hi, I have tried using the Columns property to alter the width as suggested, but this just results in the text size being reduced to fit the extra columns in. The width does not change.&lt;/p&gt;
&lt;p&gt;In reply to Nizam, there is a default value of &amp;quot;&amp;lt;DIV&amp;gt;&amp;lt;/DIV&amp;gt;&amp;quot; in the Text property, so you can validate as follows: &lt;/p&gt;
&lt;p&gt;if (txtRichText.Text == string.Empty || txtRichText.Text == &amp;quot;&amp;lt;DIV&amp;gt;&amp;lt;/DIV&amp;gt;&amp;quot;)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1673281" width="1" height="1"&gt;</description></item><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1671423</link><pubDate>Wed, 11 Feb 2009 16:58:07 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1671423</guid><dc:creator>Nizam</dc:creator><description>&lt;p&gt;Hey i have used Rich &amp;nbsp;Text Box, but when i do server side required field validation, it get faild, my code is somthing like&lt;/p&gt;
&lt;p&gt;If (txtRichText.Text.trim().lenght == 0)&lt;/p&gt;
&lt;p&gt;Show required field message&lt;/p&gt;
&lt;p&gt;Any idea how to do validation on InputFormTextBox of MOSS&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1671423" width="1" height="1"&gt;</description></item><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1555548</link><pubDate>Wed, 26 Mar 2008 21:30:24 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1555548</guid><dc:creator>Brian Madsen</dc:creator><description>&lt;p&gt;Use the Rows and Columns properties to set the height and width of the Rich Text Box control.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1555548" width="1" height="1"&gt;</description></item><item><title>re: SharePoint - using the rich text box in a custom user control</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1554507</link><pubDate>Wed, 26 Mar 2008 13:11:51 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1554507</guid><dc:creator>Karthikeyan,K</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am using RichTextBox inside a Smartpart.&lt;/p&gt;
&lt;p&gt;This control is bound inside with DataList Control.&lt;/p&gt;
&lt;p&gt;When I am editing the Row of datalist control,I want to display the same.&lt;/p&gt;
&lt;p&gt;RichTextBox controls is rendering fine with the RowEdit event.But the problem with the width.&lt;/p&gt;
&lt;p&gt;Evenif we set the width property to the control,the width is not changing.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1554507" width="1" height="1"&gt;</description></item><item><title>http://sharepoint-blogs.com/</title><link>http://msmvps.com/blogs/brianmadsen/archive/2008/03/14/sharepoint-using-the-rich-text-box-in-a-custom-user-control.aspx#1548055</link><pubDate>Thu, 20 Mar 2008 00:13:42 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1548055</guid><dc:creator>TrackBack</dc:creator><description>&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1548055" width="1" height="1"&gt;</description></item></channel></rss>