<?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 for JLCoady.net</title>
	<atom:link href="http://jlcoady.net/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://jlcoady.net</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>Comment on Easy way to get FCKEditor to work inside an ASP.Net AJAX UpdatePanel 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>Comment on Easy way to get FCKEditor to work inside an ASP.Net AJAX UpdatePanel 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>Comment on Configure the Web Site to use PHP 5 by Jina</title>
		<link>http://jlcoady.net/tutorials/wordpress/install-wordpress-shared-hosting/configure-web-site-php-5/comment-page-1#comment-384</link>
		<dc:creator>Jina</dc:creator>
		<pubDate>Wed, 30 Sep 2009 14:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://jlcoady.net/?page_id=256#comment-384</guid>
		<description>Thanks so much for posting this!</description>
		<content:encoded><![CDATA[<p>Thanks so much for posting this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Credit Card Validation in C# by Howzilla</title>
		<link>http://jlcoady.net/c-sharp/credit-card-validation-in-c-sharp/comment-page-1#comment-363</link>
		<dc:creator>Howzilla</dc:creator>
		<pubDate>Tue, 29 Sep 2009 02:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://jlcoady.net/?p=145#comment-363</guid>
		<description>Thanks for the code. You really saved me some time with this.</description>
		<content:encoded><![CDATA[<p>Thanks for the code. You really saved me some time with this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy way to get FCKEditor to work inside an ASP.Net AJAX UpdatePanel 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>Comment on How to Install WordPress onto Shared Hosting by Debbie Wolfe</title>
		<link>http://jlcoady.net/tutorials/wordpress/install-wordpress-shared-hosting/comment-page-1#comment-311</link>
		<dc:creator>Debbie Wolfe</dc:creator>
		<pubDate>Wed, 26 Aug 2009 02:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://jlcoady.net/?page_id=198#comment-311</guid>
		<description>Josh,

Thank you SO MUCH for this WordPress install tutorial with Parcom!!! It worked like a charm and I&#039;m off and running. I really appreciate your generosity. Best.</description>
		<content:encoded><![CDATA[<p>Josh,</p>
<p>Thank you SO MUCH for this WordPress install tutorial with Parcom!!! It worked like a charm and I&#8217;m off and running. I really appreciate your generosity. Best.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Credit Card Validation in C# by mexicotom</title>
		<link>http://jlcoady.net/c-sharp/credit-card-validation-in-c-sharp/comment-page-1#comment-305</link>
		<dc:creator>mexicotom</dc:creator>
		<pubDate>Wed, 05 Aug 2009 02:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://jlcoady.net/?p=145#comment-305</guid>
		<description>Your Luhn algorithm is interesting, but according to my tests is 10x slower than this one:

http://orb-of-knowledge.blogspot.com/2009/08/extremely-fast-luhn-function-for-c.html

Also, line #23 is not compiling for me, as it complains that Byte.Parse cannot take a char, but must take a string. I then had to call .ToString() on the char value to make it work (which may account for some of the slowness mentioned above).</description>
		<content:encoded><![CDATA[<p>Your Luhn algorithm is interesting, but according to my tests is 10x slower than this one:</p>
<p><a href="http://orb-of-knowledge.blogspot.com/2009/08/extremely-fast-luhn-function-for-c.html" rel="nofollow">http://orb-of-knowledge.blogspot.com/2009/08/extremely-fast-luhn-function-for-c.html</a></p>
<p>Also, line #23 is not compiling for me, as it complains that Byte.Parse cannot take a char, but must take a string. I then had to call .ToString() on the char value to make it work (which may account for some of the slowness mentioned above).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to get URL rewriting to work with ASP.Net 2.0 Themes and form post-backs by Dick Nagtegaal</title>
		<link>http://jlcoady.net/aspnet/how-to-url-rewrite-asp-net-2-theme-form-postback/comment-page-1#comment-291</link>
		<dc:creator>Dick Nagtegaal</dc:creator>
		<pubDate>Wed, 15 Jul 2009 11:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=10#comment-291</guid>
		<description>I don&#039;t know if I didn&#039;t pay attention or if something changed (I&#039;ve cleared my browser cache and restarted IIS), but now your code doesn&#039;t seem to work at all. I have:
RewriteRule ^IdList/(\d*)/(\d*)\.html$ /Default.aspx?Id=$1&amp;SubId=$2

When I request http://www.example.com/IdList/1/2.html I am indeed redirected to Default.aspx?Id=1&amp;SubId=2.
With just the rewrite rule and without your code, the action attribute of the form tag contains &quot;Default.aspx?Id=1&amp;SubId=2&quot;. After adding your code it contains: &quot;2.html?Id=1&amp;SubId=2&quot;.

Although this does work, clicking a button on the form changes the url in the address bar to &quot;http://www.example.com/IdList/1/2.html?Id=1&amp;SubId=2&quot;. The Control Adapter solution presented by Scott does not do that.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if I didn&#8217;t pay attention or if something changed (I&#8217;ve cleared my browser cache and restarted IIS), but now your code doesn&#8217;t seem to work at all. I have:<br />
RewriteRule ^IdList/(\d*)/(\d*)\.html$ /Default.aspx?Id=$1&amp;SubId=$2</p>
<p>When I request <a href="http://www.example.com/IdList/1/2.html" rel="nofollow">http://www.example.com/IdList/1/2.html</a> I am indeed redirected to Default.aspx?Id=1&amp;SubId=2.<br />
With just the rewrite rule and without your code, the action attribute of the form tag contains &#8220;Default.aspx?Id=1&amp;SubId=2&#8243;. After adding your code it contains: &#8220;2.html?Id=1&amp;SubId=2&#8243;.</p>
<p>Although this does work, clicking a button on the form changes the url in the address bar to &#8220;http://www.example.com/IdList/1/2.html?Id=1&amp;SubId=2&#8243;. The Control Adapter solution presented by Scott does not do that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to get URL rewriting to work with ASP.Net 2.0 Themes and form post-backs by Dick Nagtegaal</title>
		<link>http://jlcoady.net/aspnet/how-to-url-rewrite-asp-net-2-theme-form-postback/comment-page-1#comment-290</link>
		<dc:creator>Dick Nagtegaal</dc:creator>
		<pubDate>Wed, 15 Jul 2009 09:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jlcoady.net/?p=10#comment-290</guid>
		<description>This code indeed is much simpler than using the Control Adapter approach. I have one problem with it however. When requesting the root of the application (i.e. www.example.com/) the value of HTTP_X_REWRITE_URL is &#039;/&#039;. For some reason this results in an &quot;Object reference not set to an instance of an object&quot; error.

The stack trace shows no source file, but it starts with:
[NullReferenceException: Object reference not set to an instance of an object.]
   System.Web.UI.Control.ResolveClientUrl(String relativeUrl) +124

I&#039;ve tried adding a rewrite rule to explicitely rewrite / to /Default.aspx (Rewrite ^$ /Default.aspx) but that doesn&#039;t make a difference. Off course I can just check the originalUrl for being equal to &quot;/&quot; to prevent the problem.

Can you confirm this behaviour? Any idea why it is happening?
If you see the same behaviour, maybe you could adapt your code so it doesn&#039;t occur.</description>
		<content:encoded><![CDATA[<p>This code indeed is much simpler than using the Control Adapter approach. I have one problem with it however. When requesting the root of the application (i.e. <a href="http://www.example.com/" rel="nofollow">http://www.example.com/</a>) the value of HTTP_X_REWRITE_URL is &#8216;/&#8217;. For some reason this results in an &#8220;Object reference not set to an instance of an object&#8221; error.</p>
<p>The stack trace shows no source file, but it starts with:<br />
[NullReferenceException: Object reference not set to an instance of an object.]<br />
   System.Web.UI.Control.ResolveClientUrl(String relativeUrl) +124</p>
<p>I&#8217;ve tried adding a rewrite rule to explicitely rewrite / to /Default.aspx (Rewrite ^$ /Default.aspx) but that doesn&#8217;t make a difference. Off course I can just check the originalUrl for being equal to &#8220;/&#8221; to prevent the problem.</p>
<p>Can you confirm this behaviour? Any idea why it is happening?<br />
If you see the same behaviour, maybe you could adapt your code so it doesn&#8217;t occur.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy way to get FCKEditor to work inside an ASP.Net AJAX UpdatePanel 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>
</channel>
</rss>
