<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Easy way to get FCKEditor to work inside an ASP.Net AJAX UpdatePanel</title>
	<atom:link href="http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel/feed" rel="self" type="application/rss+xml" />
	<link>http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel</link>
	<description></description>
	<lastBuildDate>Tue, 01 Dec 2009 16:23:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Matt</title>
		<link>http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel/comment-page-1#comment-449</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 01 Dec 2009 16:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=3#comment-449</guid>
		<description>I should have noted fckFullDescr was the ID of my fckeditor control in the asp.net page.</description>
		<content:encoded><![CDATA[<p>I should have noted fckFullDescr was the ID of my fckeditor control in the asp.net page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel/comment-page-1#comment-448</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 01 Dec 2009 16:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=3#comment-448</guid>
		<description>This is noted for my experience with visualstudio 2008 asp.net 3.x, i don&#039;t know if this problem exists for other versions of vs or asp.net.
 
If you are using the fckeditor html/text editor tool in your webpages and have these lines of code it appears that whenever a postback occurs the fckeditor control will disappear from your UI. It also appears  you can use the fckeditor without these lines of code and it will work fine(i.e. not disappear on postback).
 
  //string fullURL = Request.Url.AbsoluteUri;
  //int index = fullURL.IndexOf(&quot;/ServiceEditor/&quot;);
  //string path = fullURL.Substring(0, index);
   //fckFullDescr.BasePath = path + fckFullDescr.BasePath</description>
		<content:encoded><![CDATA[<p>This is noted for my experience with visualstudio 2008 asp.net 3.x, i don&#8217;t know if this problem exists for other versions of vs or asp.net.</p>
<p>If you are using the fckeditor html/text editor tool in your webpages and have these lines of code it appears that whenever a postback occurs the fckeditor control will disappear from your UI. It also appears  you can use the fckeditor without these lines of code and it will work fine(i.e. not disappear on postback).</p>
<p>  //string fullURL = Request.Url.AbsoluteUri;<br />
  //int index = fullURL.IndexOf(&#8220;/ServiceEditor/&#8221;);<br />
  //string path = fullURL.Substring(0, index);<br />
   //fckFullDescr.BasePath = path + fckFullDescr.BasePath</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skrowl</title>
		<link>http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel/comment-page-1#comment-315</link>
		<dc:creator>skrowl</dc:creator>
		<pubDate>Thu, 10 Sep 2009 15:10:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=3#comment-315</guid>
		<description>Put this in Page_Load (NOT just if Page.IsPostback = false) and it will work no matter how many FCKeditors you have:

ScriptManager.RegisterOnSubmitStatement(Me, Me.GetType(), &quot;AjaxHack&quot;, &quot;for ( var i = 0; i &lt; parent.frames.length; ++i ) if ( parent.frames[i].FCK ) parent.frames[i].FCK.UpdateLinkedField();&quot;)</description>
		<content:encoded><![CDATA[<p>Put this in Page_Load (NOT just if Page.IsPostback = false) and it will work no matter how many FCKeditors you have:</p>
<p>ScriptManager.RegisterOnSubmitStatement(Me, Me.GetType(), &#8220;AjaxHack&#8221;, &#8220;for ( var i = 0; i &lt; parent.frames.length; ++i ) if ( parent.frames[i].FCK ) parent.frames[i].FCK.UpdateLinkedField();&quot;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier</title>
		<link>http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel/comment-page-1#comment-272</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Mon, 25 May 2009 10:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=3#comment-272</guid>
		<description>The given code is not correct. As Naveen says the whole page will be refreshed.

You have to use &quot;ScriptManager&quot; instead &quot;Page.ClientScript&quot;:

ScriptManager.RegisterOnSubmitStatement(editor, editor.GetType(), &quot;editor&quot;, &quot;FCKUpdateLinkedField(&#039;&quot; + editor.ClientID + &quot;&#039;);&quot;);

Notice that this method receives 4 parameters. The method of the example has 3 parameters.

Even if you apply this change an error will appear. For example: if you change the visibility of the editor several times.</description>
		<content:encoded><![CDATA[<p>The given code is not correct. As Naveen says the whole page will be refreshed.</p>
<p>You have to use &#8220;ScriptManager&#8221; instead &#8220;Page.ClientScript&#8221;:</p>
<p>ScriptManager.RegisterOnSubmitStatement(editor, editor.GetType(), &#8220;editor&#8221;, &#8220;FCKUpdateLinkedField(&#8216;&#8221; + editor.ClientID + &#8220;&#8216;);&#8221;);</p>
<p>Notice that this method receives 4 parameters. The method of the example has 3 parameters.</p>
<p>Even if you apply this change an error will appear. For example: if you change the visibility of the editor several times.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: supernont</title>
		<link>http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel/comment-page-1#comment-221</link>
		<dc:creator>supernont</dc:creator>
		<pubDate>Thu, 26 Mar 2009 18:58:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=3#comment-221</guid>
		<description>superb! thanks a lot :D</description>
		<content:encoded><![CDATA[<p>superb! thanks a lot :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sara</title>
		<link>http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel/comment-page-1#comment-168</link>
		<dc:creator>sara</dc:creator>
		<pubDate>Thu, 12 Mar 2009 08:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=3#comment-168</guid>
		<description>hi:

it works fine, but its refreshed the whole page within the updatepanel.
Anyone give a solution for this, very grateful to them.

thanks and regards
sara</description>
		<content:encoded><![CDATA[<p>hi:</p>
<p>it works fine, but its refreshed the whole page within the updatepanel.<br />
Anyone give a solution for this, very grateful to them.</p>
<p>thanks and regards<br />
sara</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naveen</title>
		<link>http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel/comment-page-1#comment-107</link>
		<dc:creator>Naveen</dc:creator>
		<pubDate>Wed, 11 Feb 2009 14:18:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=3#comment-107</guid>
		<description>Hi Boss,
Thnq very much, i was tried to fix this issue from morning onwards finaly i got your blog.

Thanks very much
NAveen M</description>
		<content:encoded><![CDATA[<p>Hi Boss,<br />
Thnq very much, i was tried to fix this issue from morning onwards finaly i got your blog.</p>
<p>Thanks very much<br />
NAveen M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duncan</title>
		<link>http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel/comment-page-1#comment-97</link>
		<dc:creator>duncan</dc:creator>
		<pubDate>Thu, 05 Feb 2009 17:07:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=3#comment-97</guid>
		<description>thanks for posting this.  elegant and effective.  saved me time, no doubt!</description>
		<content:encoded><![CDATA[<p>thanks for posting this.  elegant and effective.  saved me time, no doubt!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nameer</title>
		<link>http://jlcoady.net/aspnet/fckeditor-work-inside-updatepanel/comment-page-1#comment-36</link>
		<dc:creator>Nameer</dc:creator>
		<pubDate>Sun, 27 Jul 2008 08:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=3#comment-36</guid>
		<description>Still get FCK is not defined if you postback for the second time (in firfox not ie)</description>
		<content:encoded><![CDATA[<p>Still get FCK is not defined if you postback for the second time (in firfox not ie)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
