<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>RTE (Rich Text Editor) ASP.NET Control</title><link>http://www.codeplex.com/rte/Project/ProjectRss.aspx</link><description>Self contained Rich Text Editor ASP.NET </description><item><title>NEW POST: Rich Text Control within nested Master Pages</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=18587</link><description>&lt;div style="line-height: normal;"&gt;I get the same problem with nested master pages, have you found a workaround?&lt;br&gt;
&lt;/div&gt;</description><author>abis123</author><pubDate>Tue, 13 May 2008 21:03:20 GMT</pubDate><guid isPermaLink="false">NEW POST: Rich Text Control within nested Master Pages 20080513P</guid></item><item><title>NEW POST: First time install and setup</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=27546</link><description>&lt;div style="line-height: normal;"&gt;I downloaded the latest change set # 7484&lt;br&gt;
&lt;br&gt;
After downloading and extracting the zip to its own directory, I used visual C# express to &amp;quot;Build Solution&amp;quot; and when that was complete there was a RichTextEditor.dll in the bin/release section of the downloaded directory.&lt;br&gt;
&lt;br&gt;
I then created a new project in Visual Web Developer 2008. I created a folder called Bin and put the RichTextEditor.dll into the bin directory.&lt;br&gt;
&lt;br&gt;
I then went into default.aspx and added &lt;strong&gt;two&lt;/strong&gt; lines to get it to work. (I wish then would add these steps to the home page!)&lt;br&gt;
&lt;span style="font-size:13px"&gt;
&lt;p&gt;&amp;lt;%&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;@&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;Page&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;Language&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;C#&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;AutoEventWireup&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;CodeFile&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;Default.aspx.cs&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;Inherits&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;_Default&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; %&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;%&lt;/strong&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;@&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;Register&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;assembly&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;RichTextEditor&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;namespace&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;AjaxControls&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;tagprefix&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;cc1&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size:13px"&gt;&lt;strong&gt; %&amp;gt;&lt;/strong&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;span style="font-size:13px;color:#0000ff"&gt;
&lt;p&gt;&amp;lt;!&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#a31515"&gt;DOCTYPE&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;html&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;PUBLIC&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#a31515"&gt;html&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;xmlns&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#a31515"&gt;head&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;server&amp;quot;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;span style="font-size:13px"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;title&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size:13px"&gt;Untitled Page&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;title&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;/&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#a31515"&gt;head&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#a31515"&gt;body&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;span style="font-size:13px"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;form&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;id&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;form1&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;server&amp;quot;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;span style="font-size:13px"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;div&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;span style="font-size:13px"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;cc1&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;RichTextEditor&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;Rte1&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;Theme&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;Blue&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size:13px"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;div&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;span style="font-size:13px"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;form&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;/&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#a31515"&gt;body&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;/&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#a31515"&gt;html&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>jfeeney</author><pubDate>Mon, 12 May 2008 12:41:30 GMT</pubDate><guid isPermaLink="false">NEW POST: First time install and setup 20080512P</guid></item><item><title>NEW POST: Read-Only Attribute</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=17849</link><description>&lt;div class="wikidoc"&gt;
Hello,&lt;br /&gt;  For those still looking for a solution, you might want to try this:&lt;br /&gt;    Rte.cs&lt;br /&gt;     In the OnPreRender code.  Underneath these lines:&lt;br /&gt;            Global.Instance.Resource.RegisterClientImmediateScript(this, &amp;quot;emoticonsadd&amp;quot;, scriptBuilder.ToString());&lt;br /&gt;            Global.Instance.Resource.RegisterClientImmediateScript(this, &amp;quot;editorLinks&amp;quot;, &amp;quot;var editCssUrl = \'&amp;quot; + Global.Instance.Resource.GetUrl(this.Page, &amp;quot;AjaxControls.edit.css&amp;quot;) + &amp;quot;\';&amp;quot;);&lt;br /&gt;            Global.Instance.Resource.RegisterClientImmediateScript(this, &amp;quot;editorIdinit&amp;quot;, &amp;quot;var editorId = '&amp;quot; + this.TextEditorClientID + &amp;quot;' ;&amp;quot;);&lt;br /&gt;            Global.Instance.Resource.RegisterClientImmediateScript(this, &amp;quot;RichEditIdinit&amp;quot;, &amp;quot;var RichEditId = '&amp;quot; + this.iFrame.ClientID + &amp;quot;' ;&amp;quot;);&lt;br /&gt;            Global.Instance.Resource.RegisterClientImmediateScript(this, &amp;quot;RteIdinit&amp;quot;, &amp;quot;var RteId = '&amp;quot; + this.ClientID + &amp;quot;' ;&amp;quot;);&lt;br /&gt;            Global.Instance.Resource.RegisterClientImmediateScript(this, &amp;quot;RteToolbarId&amp;quot;, &amp;quot;var RteToolbarId = '&amp;quot; + toolbar.ClientID + &amp;quot;' ;&amp;quot;);&lt;br /&gt; &lt;br /&gt;   Add the following code:&lt;br /&gt; &lt;br /&gt;            if (!this.Enabled)&lt;br /&gt;            {&lt;br /&gt;                Global.Instance.Resource.RegisterClientImmediateScript(this, &amp;quot;RteEnabled&amp;quot;, &amp;quot;var RteEnabled = false;&amp;quot;);&lt;br /&gt;            }&lt;br /&gt;            else&lt;br /&gt;            {&lt;br /&gt;                Global.Instance.Resource.RegisterClientImmediateScript(this, &amp;quot;RteEnabled&amp;quot;, &amp;quot;var RteEnabled = true;&amp;quot;);&lt;br /&gt;            }&lt;br /&gt; &lt;br /&gt;  Then in the RteStartup.js file.  in the &amp;quot;browser = {&amp;quot; declaration, underneath this line:&lt;br /&gt; &lt;br /&gt;          richeditor.EditMode = true;&lt;br /&gt; &lt;br /&gt;  Add the following code:&lt;br /&gt; &lt;br /&gt;if (!RteEnabled)&lt;br /&gt;{&lt;br /&gt;    richeditor.GetDocument().body.disabled = true;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;   This ties the controls built in Enabled property to the editors body.disabled attribute.  Haven't tested it much.  I have heavily modified the source code, but making this change in the original source should work.&lt;br /&gt;
&lt;/div&gt;</description><author>mrfinger</author><pubDate>Tue, 06 May 2008 19:15:48 GMT</pubDate><guid isPermaLink="false">NEW POST: Read-Only Attribute 20080506P</guid></item><item><title>NEW POST: Read-Only Attribute</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=17849</link><description>&lt;div class="wikidoc"&gt;
Ok, let's see... &lt;br /&gt;If  you look at TextBox component (System.Web.UI.WebControls.TextBox), you'll see a property called 'ReadOnly'.&lt;br /&gt;The default value for this property is false, which makes it editable. If you change the property value to true, user can not change the text in the text box.&lt;br /&gt;That's exactly what I am looking for in the RichTextEditor.&lt;br /&gt;I hope this is clear enough.&lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;Feryal wrote:&lt;br /&gt;I am looking for the same feature in RTE. &lt;br /&gt;I want the component to work in two different modes: ReadOnly and ReadWrite&lt;br /&gt;ReadWrite is the default (current) functionality.&lt;br /&gt;In ReadOnly mode, I wish to see the text, user should not be able to modify it. I have looked at the code and managed to add a property to the control to hide the toolbar but I am still strugling with making the text box ReadOnly.&lt;br /&gt; &lt;br /&gt;Any ideas?&lt;br /&gt; &lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;skannan wrote:&lt;br /&gt;Could you explain more about the scenario ? &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt; &lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>Feryal</author><pubDate>Tue, 06 May 2008 13:54:04 GMT</pubDate><guid isPermaLink="false">NEW POST: Read-Only Attribute 20080506P</guid></item><item><title>NEW POST: Unable to set DomMode to true</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=27163</link><description>&lt;div class="wikidoc"&gt;
Program generates error when DomMode value is set to true. &lt;br /&gt;
&lt;/div&gt;</description><author>Feryal</author><pubDate>Mon, 05 May 2008 21:28:48 GMT</pubDate><guid isPermaLink="false">NEW POST: Unable to set DomMode to true 20080505P</guid></item><item><title>NEW POST: Read-Only Attribute</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=17849</link><description>&lt;div class="wikidoc"&gt;
I'd rather not because that is just an ugly work around. I like to have a ReadOnly property for the component and control it ptogramatically.&lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;jimbillig wrote:&lt;br /&gt;Couldn't you just use a &amp;lt;div&amp;gt; or a &amp;lt;span&amp;gt; or just about any other element as the text in the RTE control is simply HTML?  You could just create a &amp;lt;div&amp;gt; to put the text in and then swap the &amp;lt;div&amp;gt; out with the control when you want it editable.&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>Feryal</author><pubDate>Mon, 05 May 2008 20:00:12 GMT</pubDate><guid isPermaLink="false">NEW POST: Read-Only Attribute 20080505P</guid></item><item><title>NEW POST: Read-Only Attribute</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=17849</link><description>&lt;div class="wikidoc"&gt;
My problem is that when I change the DomMode to true (client mode), I get some other errors. I have been spending too much time on fixing those errors. Now I've decided to use the Server mode, which is not using the TextArea tag. Have you tried that?&lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;Feryal wrote:&lt;br /&gt;Thanks for the help. May I get a copy of your Rte.cs file? &lt;br /&gt; &lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;mrfinger wrote:&lt;br /&gt;In the Rte.cs file of the RTE project you will see that there is a TextArea tag dynamically generated and inserted in to the client side for use.  You can rig up a property to enable/disable the TextArea Tag along with the toolbar.  &lt;b&gt;NOTE:&lt;/b&gt; for some silly reason the TextArea tag has a &amp;quot;disabled&amp;quot; attribute rather than &amp;quot;enabled&amp;quot; so you will have to negate your booleans to make it respond like &amp;quot;enabled&amp;quot;.  I made similar properties, so if you have further questions don't hesitate to ask.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt; &lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>Feryal</author><pubDate>Mon, 05 May 2008 18:47:37 GMT</pubDate><guid isPermaLink="false">NEW POST: Read-Only Attribute 20080505P</guid></item><item><title>NEW POST: Read-Only Attribute</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=17849</link><description>&lt;div class="wikidoc"&gt;
Thanks for the help. May I get a copy of your Rte.cs file? &lt;br /&gt; &lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;mrfinger wrote:&lt;br /&gt;In the Rte.cs file of the RTE project you will see that there is a TextArea tag dynamically generated and inserted in to the client side for use.  You can rig up a property to enable/disable the TextArea Tag along with the toolbar.  &lt;b&gt;NOTE:&lt;/b&gt; for some silly reason the TextArea tag has a &amp;quot;disabled&amp;quot; attribute rather than &amp;quot;enabled&amp;quot; so you will have to negate your booleans to make it respond like &amp;quot;enabled&amp;quot;.  I made similar properties, so if you have further questions don't hesitate to ask.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>Feryal</author><pubDate>Mon, 05 May 2008 16:00:11 GMT</pubDate><guid isPermaLink="false">NEW POST: Read-Only Attribute 20080505P</guid></item><item><title>NEW POST: want to insert text at cursor position in rechtextbox</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=27080</link><description>&lt;div class="wikidoc"&gt;
actually i am doing the same thing &lt;br /&gt;code is as below &lt;br /&gt; &lt;br /&gt;alert(richeditor.GetWindow().getSelection().getRangeAt(0).startOffset);&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;this is returning me current cursor position.&lt;br /&gt;but here the problem is,  current cursor position is representing cursor position in current selected line.&lt;br /&gt;say if RichtextBox contains 3 lines &lt;br /&gt;each line contains 10 characters and suppose my cursor is at 5th position in 2nd line &lt;br /&gt;the above code returns current cursor position as 5 &lt;br /&gt;but i want it as 15 as it is actually at 15th position.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;mrfinger wrote:&lt;br /&gt;Not sure but the problem is probably because the two different browsers use different methods to modify the text... ... ... Probably will need to write something that checks to see if the various objects are available for usage, if document.selection &amp;amp; document.selection.createRange are available then use them, if window.getSelection is available then use it.  &lt;br /&gt; &lt;br /&gt;  if (document.selection &amp;amp;&amp;amp; document.selection.createRange) {&lt;br /&gt;    //do createRange code here&lt;br /&gt;  }&lt;br /&gt;  else if (window.getSelection) {&lt;br /&gt;   //do getSelection / getRangeAt code here&lt;br /&gt;  }&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>lsarolkar</author><pubDate>Mon, 05 May 2008 15:31:24 GMT</pubDate><guid isPermaLink="false">NEW POST: want to insert text at cursor position in rechtextbox 20080505P</guid></item><item><title>NEW POST: want to insert text at cursor position in rechtextbox</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=27080</link><description>&lt;div class="wikidoc"&gt;
Not sure but the problem is probably because the two different browsers use different methods to modify the text... ... ... Probably will need to write something that checks to see if the various objects are available for usage, if document.selection &amp;amp; document.selection.createRange are available then use them, if window.getSelection is available then use it.  &lt;br /&gt; &lt;br /&gt;  if (document.selection &amp;amp;&amp;amp; document.selection.createRange) {&lt;br /&gt;    //do createRange code here&lt;br /&gt;  }&lt;br /&gt;  else if (window.getSelection) {&lt;br /&gt;   //do getSelection / getRangeAt code here&lt;br /&gt;  }&lt;br /&gt;
&lt;/div&gt;</description><author>mrfinger</author><pubDate>Mon, 05 May 2008 15:09:41 GMT</pubDate><guid isPermaLink="false">NEW POST: want to insert text at cursor position in rechtextbox 20080505P</guid></item><item><title>NEW POST: Focus being stolen</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=26325</link><description>&lt;div class="wikidoc"&gt;
Yes I think you are correct, calls to the RichTextEditor classes Focus function are what to look for.  The RTEStartup.js creates a RichTextEditor object called richeditor.  I have modified this area so much it is difficult to remember exactly what happens where in the original version.  But you are definetely on the right track.&lt;br /&gt;
&lt;/div&gt;</description><author>mrfinger</author><pubDate>Mon, 05 May 2008 14:49:28 GMT</pubDate><guid isPermaLink="false">NEW POST: Focus being stolen 20080505P</guid></item><item><title>NEW POST: Read-Only Attribute</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=17849</link><description>&lt;div class="wikidoc"&gt;
In the Rte.cs file of the RTE project you will see that there is a TextArea tag dynamically generated and inserted in to the client side for use.  You can rig up a property to enable/disable the TextArea Tag along with the toolbar.  &lt;b&gt;NOTE:&lt;/b&gt; for some silly reason the TextArea tag has a &amp;quot;disabled&amp;quot; attribute rather than &amp;quot;enabled&amp;quot; so you will have to negate your booleans to make it respond like &amp;quot;enabled&amp;quot;.  I made similar properties, so if you have further questions don't hesitate to ask.&lt;br /&gt;
&lt;/div&gt;</description><author>mrfinger</author><pubDate>Mon, 05 May 2008 14:29:07 GMT</pubDate><guid isPermaLink="false">NEW POST: Read-Only Attribute 20080505P</guid></item><item><title>NEW POST: problem with firefox</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=27058</link><description>&lt;div class="wikidoc"&gt;
Hello,&lt;br /&gt;  I do not have much experience with firefox, but the way you describe the problem makes me think that it could be a Page Request Validation issue.  A quick way to test this is to set the page validation property to false by doing the following:  &amp;lt;%@ Page &lt;a href="http://www.codeplex.com/rte/Wiki/View.aspx?title=...%20some%20other%20stuff%20..."&gt;... some other stuff ...&lt;/a&gt; ValidateRequest=&amp;quot;false&amp;quot; %&amp;gt;  .  If this doesn't do the trick, perhaps someone else can offer advice.&lt;br /&gt;
&lt;/div&gt;</description><author>mrfinger</author><pubDate>Mon, 05 May 2008 14:17:27 GMT</pubDate><guid isPermaLink="false">NEW POST: problem with firefox 20080505P</guid></item><item><title>NEW POST: Read-Only Attribute</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=17849</link><description>&lt;div class="wikidoc"&gt;
Well, I noticed in the sample web site a DIV is being used. That is a work around but it is not nice and clean. The ideal solution is to have a property to switch the text editor mode to ReadOnly or ReadWrite.&lt;br /&gt;Many components have a similar property. (e.g. TextBox)&lt;br /&gt;I have added two properties to the component to hide or show thw tabs and control bar but I have not been able to make the editor read only. I was hopeing that you can help me on that.&lt;br /&gt; &lt;br /&gt;Cheers&lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;jimbillig wrote:&lt;br /&gt;Couldn't you just use a &amp;lt;div&amp;gt; or a &amp;lt;span&amp;gt; or just about any other element as the text in the RTE control is simply HTML?  You could just create a &amp;lt;div&amp;gt; to put the text in and then swap the &amp;lt;div&amp;gt; out with the control when you want it editable.&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>Feryal</author><pubDate>Mon, 05 May 2008 13:52:59 GMT</pubDate><guid isPermaLink="false">NEW POST: Read-Only Attribute 20080505P</guid></item><item><title>NEW POST: want to insert text at cursor position in rechtextbox</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=27080</link><description>&lt;div class="wikidoc"&gt;
in my web application i am inserting text in RichText box at particular cursor position by using document.selection and then using createRange(). it works fine in IE but in Mozilla document.selection is not working. and hence i am not able to insert text in textarea at particular cursor position in Mozilla.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>lsarolkar</author><pubDate>Sun, 04 May 2008 10:36:20 GMT</pubDate><guid isPermaLink="false">NEW POST: want to insert text at cursor position in rechtextbox 20080504A</guid></item><item><title>NEW POST: having problem in div tag in mozilla</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=27077</link><description>&lt;div class="wikidoc"&gt;
hi&lt;br /&gt;i am using this control in my web application which is working fine in IE but i am facing some problem in Mozilla FF. &lt;br /&gt;actually i am putting this control in Content page and that is also in Div tag which is again in one &amp;lt;td&amp;gt; tag&lt;br /&gt; &lt;br /&gt;First problem is when i am opening the applciation , editor conrtrol is completely disable.&lt;br /&gt;if i put it after Div tag then its working fine but in div tag it is throwing exception for the line richeditor,toHTMLString which is in javascript which i have written to get the HTML text from editor control.&lt;br /&gt; &lt;br /&gt;i am unable to find out the cause of this. please help me out for this. its really  very urgent.&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;Leena&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>lsarolkar</author><pubDate>Sun, 04 May 2008 08:05:30 GMT</pubDate><guid isPermaLink="false">NEW POST: having problem in div tag in mozilla 20080504A</guid></item><item><title>NEW POST: Read-Only Attribute</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=17849</link><description>&lt;div class="wikidoc"&gt;
Couldn't you just use a &amp;lt;div&amp;gt; or a &amp;lt;span&amp;gt; or just about any other element as the text in the RTE control is simply HTML?  You could just create a &amp;lt;div&amp;gt; to put the text in and then swap the &amp;lt;div&amp;gt; out with the control when you want it editable.&lt;br /&gt;
&lt;/div&gt;</description><author>jimbillig</author><pubDate>Sat, 03 May 2008 22:58:32 GMT</pubDate><guid isPermaLink="false">NEW POST: Read-Only Attribute 20080503P</guid></item><item><title>NEW POST: problem with firefox</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=27058</link><description>&lt;div class="wikidoc"&gt;
Hi friends&lt;br /&gt;i need you urgent Assisenatnce. i am using Rich text editor and no doubt it runs super with less effort. i have a small problem while running in the firefox. i am using  this line of code&lt;br /&gt; editor.value = richeditor.toHtmlString();&lt;br /&gt;now when firfox consol hit this line of code it show exception and it won't allow my application to run furter. i am not sure how i can handle this situation. i event try to put it as &lt;br /&gt;editor.value = richeditor.text;&lt;br /&gt;but than it says the value is undefine. so please help me guys. i am working on VS2005&lt;br /&gt;
&lt;/div&gt;</description><author>aarya</author><pubDate>Sat, 03 May 2008 14:22:20 GMT</pubDate><guid isPermaLink="false">NEW POST: problem with firefox 20080503P</guid></item><item><title>NEW POST: Read-Only Attribute</title><link>http://www.codeplex.com/rte/Thread/View.aspx?ThreadId=17849</link><description>&lt;div class="wikidoc"&gt;
I am looking for the same feature in RTE. &lt;br /&gt;I want the component to work in two different modes: ReadOnly and ReadWrite&lt;br /&gt;ReadWrite is the default (current) functionality.&lt;br /&gt;In ReadOnly mode, I wish to see the text, user should not be able to modify it. I have looked at the code and managed to add a property to the control to hide the toolbar but I am still strugling with making the text box ReadOnly.&lt;br /&gt; &lt;br /&gt;Any ideas?&lt;br /&gt; &lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;skannan wrote:&lt;br /&gt;Could you explain more about the scenario ? &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>Feryal</author><pubDate>Fri, 02 May 2008 15:43:43 GMT</pubDate><guid isPermaLink="false">NEW POST: Read-Only Attribute 20080502P</guid></item><item><title>CREATED ISSUE: Setting DomMode to true genetrates a run time error</title><link>http://www.codeplex.com/rte/WorkItem/View.aspx?WorkItemId=6102</link><description>This line of code in Rte.cs generates an error&amp;#58;&lt;br /&gt;  textEditorClient.Style.Add&amp;#40;HtmlTextWriterStyle.Display, &amp;#34;none&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;The error says&amp;#58;&lt;br /&gt;NullReferenceException was unhandled by user code&lt;br /&gt;</description><author>Feryal</author><pubDate>Fri, 02 May 2008 14:08:26 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Setting DomMode to true genetrates a run time error 20080502P</guid></item></channel></rss>