<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How do I use the HTML Editor Control?</title><link>http://asp.net</link><pubDate>Tue, 07 May 2013 13:36:59 GMT</pubDate><generator>umbraco</generator><description>Comments for How do I use the HTML Editor Control?</description><language>en</language><atom:link href="http://asp.net/rss/comments/33170" rel="self" type="application/rss+xml" /><item><title>Comment Posted by sharkboy</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Thu, 03 Jun 2010 22:34:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008981</guid><description><![CDATA[ <p>For avoiding XSS attacks I recommend using the AntiXss library. This includes a method that removes most common XSS attack patterns. For example to ensure you do not save any bad data to your persistence store you can call: </p><p> AntiXss.GetSafeHtmlFragment(content.ArticleContent)</p><p></p><p>It may be possible to defeat this using some sneaky techniques such as inserting html comments between scripting commands. </p><p>For example:</p><p>&lt;scr&lt;!--    --&gt;ipt&gt;</p><p>Fortunately most modern browsers would not execute commands in this manner. </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/sharkboy.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by prat26</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Sun, 20 Jun 2010 23:34:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009154</guid><description><![CDATA[ <p>This tutorial helped me a lot.</p><p></p><p>Thanks heaps</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/prat26.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cmsrana</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Tue, 22 Jun 2010 02:54:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009171</guid><description><![CDATA[ <p>vbvb rg dfg www.asp.net</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/cmsrana.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sonam</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Wed, 11 Aug 2010 01:57:41 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009825</guid><description><![CDATA[ <p>How do I get the HTML Editor Control content by javascript?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/sonam.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Calimilka</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Wed, 18 Aug 2010 09:25:43 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009891</guid><description><![CDATA[ <p>@sonam </p><p>you can get/set the content with: </p><p>            var editor = $find(&#39;&lt;%= Editor1.ClientID %&gt;&#39;);</p><p>            editor.set_content(&quot;Whatever you like&quot;);</p><p>var content = editor.get_content();</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Calimilka.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by thomas.wcv</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Wed, 25 Aug 2010 18:00:11 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009986</guid><description><![CDATA[ <p>when i add the &quot;font name&quot; and &quot;font size&quot; options to my custom editor, the only options available are &quot;default&quot; - no other fonts or sizes. Help?! </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/thomas.wcv.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by karrom</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Tue, 14 Sep 2010 02:30:27 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010222</guid><description><![CDATA[ <p>hi,Editor in Ajax Control Toolkit in Tool Box doesn,t appear although i followed Get started with Ajax control toolkit step by step.</p><p>thanks for all thing.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/karrom.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by kipo</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Wed, 29 Sep 2010 08:52:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010429</guid><description><![CDATA[ <p>About this part - &quot;Customizing the HTML Editor Toolbar&quot;:</p><p>There seems to be some bug with this approach. Toolbar is customized, but content of an editor is lost at the postback if editor is not in &quot;Preview&quot; state.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/kipo.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by koitohay</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Thu, 07 Oct 2010 05:45:25 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010524</guid><description><![CDATA[ <p>Such a bullshit this is, you cannot use it in web application?</p><p>i created a folder called in web application called App_Code but still doesn&#39;t work, made it to change to compile instead of content still doesnt work. don&#39;t understand what kind of documentation is this which doesn&#39;t explain anything at all?</p><p>error i get</p><p></p><p> The base class includes the field &#39;MemoEditor&#39;, but its type (Wendia.Applications.Web.EndUser.MemoEditor) is not compatible with the type of control (Wendia.Applications.Web.EndUser.MemoEditor).</p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/koitohay.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ranhiru</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Tue, 26 Oct 2010 04:36:56 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010745</guid><description><![CDATA[ <p>TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Cut());</p><p>            TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Copy());</p><p>            TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Paste());</p><p></p><p>Even if you add all three button, which is of course common, only the CUT button is shown. Copy and Paste buttons are not shown!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/ranhiru.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by amdaman</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Tue, 11 Jan 2011 13:25:41 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011483</guid><description><![CDATA[ <p>Should you not mention that this editor is PAINFULLY slow? Not just slow, but EXTREMELY slow. To the point that it is virtually useless. You would probably save a lot of people a lot of time on trying this, only to go looking for an alternative in the end. Why don&#39;t you just remove this piece of garbage from your toolkit?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/amdaman.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rajivkumar</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Thu, 24 Feb 2011 05:48:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012211</guid><description><![CDATA[ <p>The Editor allowing spaces. How can we restrict the user to enter only spaces in editor. Please share this...  </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/rajivkumar.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by duttavr</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Mon, 28 Feb 2011 06:01:25 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012272</guid><description><![CDATA[ <p>There is no Text property.</p><p>Could anyone please let me know how to retrieve the data entered in Editor.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/duttavr.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by chuck1411</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Wed, 23 Mar 2011 19:08:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012580</guid><description><![CDATA[ <p>@duttavr,</p><p>If you look at the example above, you&#39;ll see it is .Content</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/chuck1411.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by chuck1411</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Wed, 23 Mar 2011 19:10:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012582</guid><description><![CDATA[ <p>@duttavr,</p><p></p><p>Another snippet, if you are making your own custom control you could do,</p><p></p><p>public string Text</p><p>{</p><p>    get { return Content; }</p><p>    set { Content = Text; }</p><p>}</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/chuck1411.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by chuck1411</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Wed, 23 Mar 2011 19:12:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012583</guid><description><![CDATA[ <p>oops, that should be Content = value</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/chuck1411.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by beegee</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Mon, 28 Mar 2011 15:59:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012631</guid><description><![CDATA[ <p>I would agree... only use this control as a last resort.  Let&#39;s say you have the editor on a page and you enter some text.  Click on a button and show the contents in a Literal control.  Now, add an unclosed HTML tag at the end.  It will mess everything up.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/beegee.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Kiran Tailor</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Tue, 19 Apr 2011 02:21:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012862</guid><description><![CDATA[ <p>How to get and set content of custom html editor.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Kiran%20Tailor.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Ashu12318</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Wed, 22 Jun 2011 16:53:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013583</guid><description><![CDATA[ <p>Really very interesting, useful and simple..!!!!</p><p></p><p>Thanx</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Ashu12318.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Mr Sparkle</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Fri, 12 Aug 2011 12:42:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013953</guid><description><![CDATA[ <p>If you don&#39;t assign an ID to your CustomEditor how can you get the .content?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Mr%20Sparkle.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jack.templin.jr</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Fri, 19 Aug 2011 11:24:33 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013990</guid><description><![CDATA[ <p>@Mr Sparkle:</p><p>Assign it an ID.  Good programming practice = Assign ID right after you put it on the page.  &lt;- Makes life a lot easier, you can then access properties and methods of your controls.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/jack.templin.jr.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by anilreddy.v</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Fri, 02 Sep 2011 01:10:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014109</guid><description><![CDATA[ <p>how can i capture the cursor position in the editor so that i can insert some text in the editor at cursor location in button click event from dropdownlist or listbox</p><p></p><p>thnks </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/anilreddy.v.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by kurai</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Wed, 09 Nov 2011 22:39:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014594</guid><description><![CDATA[ <p>how can i save/get the html text(format)??</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/kurai.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ciupazmi</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Mon, 12 Mar 2012 16:25:04 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015102</guid><description><![CDATA[ <p>Any video about this control?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/ciupazmi.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by AyanAnanya</title><link>http://asp.net/web-forms/tutorials/ajax-control-toolkit/htmleditor/how-do-i-use-the-html-editor-control-cs</link><pubDate>Tue, 07 May 2013 13:36:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000019066</guid><description><![CDATA[ <p>Thanks was very helpful  while i was trying to make it work with  dynamically generated controls at runtime in a webform. </p><p></p><p>you dont have to register the control when you are working with dynamic generated stuff in the aspx page, </p><p></p><p>you can just do </p><p>Dim TXT As HTMLEditor.Editor = New MyControl.CustomEditor()</p><p></p><p>in your code behind .. works super</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/AyanAnanya.jpg?forceidenticon=false&amp;dt=635047707000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>