<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Update: Fixing Sys.Application.initialize</title>
	<atom:link href="http://seejoelprogram.wordpress.com/2008/06/10/update-fixing-sysapplicationinitialize/feed/" rel="self" type="application/rss+xml" />
	<link>http://seejoelprogram.wordpress.com/2008/06/10/update-fixing-sysapplicationinitialize/</link>
	<description>Life's More Interesting When You Know How It Works.</description>
	<lastBuildDate>Tue, 13 Oct 2009 14:07:11 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sys.Application initialization steps &#171; Update Panel .NET</title>
		<link>http://seejoelprogram.wordpress.com/2008/06/10/update-fixing-sysapplicationinitialize/#comment-186</link>
		<dc:creator>Sys.Application initialization steps &#171; Update Panel .NET</dc:creator>
		<pubDate>Fri, 17 Oct 2008 23:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://seejoelprogram.wordpress.com/?p=80#comment-186</guid>
		<description>[...] Update: Fixing Sys.Application.initialize [...]</description>
		<content:encoded><![CDATA[<p>[...] Update: Fixing Sys.Application.initialize [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fixing Sys.Application.initialize &#8230; Again &#171; See Joel Program</title>
		<link>http://seejoelprogram.wordpress.com/2008/06/10/update-fixing-sysapplicationinitialize/#comment-180</link>
		<dc:creator>Fixing Sys.Application.initialize &#8230; Again &#171; See Joel Program</dc:creator>
		<pubDate>Fri, 03 Oct 2008 21:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://seejoelprogram.wordpress.com/?p=80#comment-180</guid>
		<description>[...] have since commented that they&#8217;ve seen this problem in the wild.) I followed that post with another one where I provided code changes to fix the problem. Through comments on that post, talking with other [...]</description>
		<content:encoded><![CDATA[<p>[...] have since commented that they&#8217;ve seen this problem in the wild.) I followed that post with another one where I provided code changes to fix the problem. Through comments on that post, talking with other [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego Perini</title>
		<link>http://seejoelprogram.wordpress.com/2008/06/10/update-fixing-sysapplicationinitialize/#comment-172</link>
		<dc:creator>Diego Perini</dc:creator>
		<pubDate>Fri, 12 Sep 2008 21:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://seejoelprogram.wordpress.com/?p=80#comment-172</guid>
		<description>Joel,
just a further note...don&#039;t leave out the &quot;onreadystatechange&quot; part of the IE specific code or the solution will fail in some edge cases and in iframes.

By using &quot;timeouts&quot; alone it is not reliable enough and flickering may be annoying.

This trick is currently used by most libraries out there, some of them failed the full implementation and they have had partial success.

Google Ajax JS API is the only library having that trick fully implemented in current release. jQuery, ExtJS and Prototype will follow shortly, there are already patches written for all of them.

I am interested in your results.


--
Diego Perini</description>
		<content:encoded><![CDATA[<p>Joel,<br />
just a further note&#8230;don&#8217;t leave out the &#8220;onreadystatechange&#8221; part of the IE specific code or the solution will fail in some edge cases and in iframes.</p>
<p>By using &#8220;timeouts&#8221; alone it is not reliable enough and flickering may be annoying.</p>
<p>This trick is currently used by most libraries out there, some of them failed the full implementation and they have had partial success.</p>
<p>Google Ajax JS API is the only library having that trick fully implemented in current release. jQuery, ExtJS and Prototype will follow shortly, there are already patches written for all of them.</p>
<p>I am interested in your results.</p>
<p>&#8211;<br />
Diego Perini</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrien</title>
		<link>http://seejoelprogram.wordpress.com/2008/06/10/update-fixing-sysapplicationinitialize/#comment-171</link>
		<dc:creator>Adrien</dc:creator>
		<pubDate>Fri, 12 Sep 2008 10:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://seejoelprogram.wordpress.com/?p=80#comment-171</guid>
		<description>the code just got messed up ;)
btw just see the link for the details

-adrien</description>
		<content:encoded><![CDATA[<p>the code just got messed up <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
btw just see the link for the details</p>
<p>-adrien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrien</title>
		<link>http://seejoelprogram.wordpress.com/2008/06/10/update-fixing-sysapplicationinitialize/#comment-170</link>
		<dc:creator>Adrien</dc:creator>
		<pubDate>Fri, 12 Sep 2008 10:05:12 +0000</pubDate>
		<guid isPermaLink="false">http://seejoelprogram.wordpress.com/?p=80#comment-170</guid>
		<description>Hi Joel,

Firstly, your site was of really great help to me.

It seems that your implementation for IE is the same as with prototype. We were encountering some problems with this way specifically when we load the scripts dynamically. I have searched the internet regarding this prototype&#039;s error and found this http://dev.rubyonrails.org/ticket/10942

So for the update i think you should wrap the code like this

if(document.readyState != &quot;complete&quot;) { 
document.write(&quot;
                            &quot;);
            var deferScript = document.getElementById(&quot;__ie_onload&quot;);
            if (deferScript) {
                deferScript.onreadystatechange = function() {
                    if (this.readyState == &quot;complete&quot;) {
                        initializeDelegate();
                    }
                };
            }
}

    

-adrien</description>
		<content:encoded><![CDATA[<p>Hi Joel,</p>
<p>Firstly, your site was of really great help to me.</p>
<p>It seems that your implementation for IE is the same as with prototype. We were encountering some problems with this way specifically when we load the scripts dynamically. I have searched the internet regarding this prototype&#8217;s error and found this <a href="http://dev.rubyonrails.org/ticket/10942" rel="nofollow">http://dev.rubyonrails.org/ticket/10942</a></p>
<p>So for the update i think you should wrap the code like this</p>
<p>if(document.readyState != &#8220;complete&#8221;) {<br />
document.write(&#8221;<br />
                            &#8220;);<br />
            var deferScript = document.getElementById(&#8220;__ie_onload&#8221;);<br />
            if (deferScript) {<br />
                deferScript.onreadystatechange = function() {<br />
                    if (this.readyState == &#8220;complete&#8221;) {<br />
                        initializeDelegate();<br />
                    }<br />
                };<br />
            }<br />
}</p>
<p>-adrien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Rumerman</title>
		<link>http://seejoelprogram.wordpress.com/2008/06/10/update-fixing-sysapplicationinitialize/#comment-169</link>
		<dc:creator>Joel Rumerman</dc:creator>
		<pubDate>Fri, 12 Sep 2008 01:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://seejoelprogram.wordpress.com/?p=80#comment-169</guid>
		<description>Hey Diego,

Great! Thanks for providing the cross-browser link. I&#039;ll definitely check it out and maybe update my fix with the new code.

- Joel</description>
		<content:encoded><![CDATA[<p>Hey Diego,</p>
<p>Great! Thanks for providing the cross-browser link. I&#8217;ll definitely check it out and maybe update my fix with the new code.</p>
<p>- Joel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego Perini</title>
		<link>http://seejoelprogram.wordpress.com/2008/06/10/update-fixing-sysapplicationinitialize/#comment-168</link>
		<dc:creator>Diego Perini</dc:creator>
		<pubDate>Fri, 12 Sep 2008 00:52:15 +0000</pubDate>
		<guid isPermaLink="false">http://seejoelprogram.wordpress.com/?p=80#comment-168</guid>
		<description>Hi Joel,
you only found my IE specific function, my take to a cross-browser solution is located here:

http://javascript.nwbox.com/ContentLoaded/

The answer to &quot;why linking other people&#039;s code&quot; is because they all did their part of the job, I only found the trick for IE which is only one component of the complete solution.

Currently all browsers have a &quot;DOMContentLoaded&quot; event, except IE.

The &quot;IEContentLoaded&quot; trick should fit perfectly with your needs, also I am not a .NET expert, but really this is the only thing that works on IE. In my current code there is a fallback for IFRAMES too.

Hope it helps, cheers

--
Diego Perini</description>
		<content:encoded><![CDATA[<p>Hi Joel,<br />
you only found my IE specific function, my take to a cross-browser solution is located here:</p>
<p><a href="http://javascript.nwbox.com/ContentLoaded/" rel="nofollow">http://javascript.nwbox.com/ContentLoaded/</a></p>
<p>The answer to &#8220;why linking other people&#8217;s code&#8221; is because they all did their part of the job, I only found the trick for IE which is only one component of the complete solution.</p>
<p>Currently all browsers have a &#8220;DOMContentLoaded&#8221; event, except IE.</p>
<p>The &#8220;IEContentLoaded&#8221; trick should fit perfectly with your needs, also I am not a .NET expert, but really this is the only thing that works on IE. In my current code there is a fallback for IFRAMES too.</p>
<p>Hope it helps, cheers</p>
<p>&#8211;<br />
Diego Perini</p>
]]></content:encoded>
	</item>
</channel>
</rss>
