<?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: Using pageLoad in both Master and Content pages</title>
	<atom:link href="http://encosia.com/using-pageload-in-both-master-and-content-pages/feed/" rel="self" type="application/rss+xml" />
	<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/</link>
	<description>ASP.NET and AJAX code, ideas, and examples.</description>
	<lastBuildDate>Wed, 16 May 2012 23:02:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Hans</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-63394</link>
		<dc:creator>Hans</dc:creator>
		<pubDate>Tue, 27 Mar 2012 20:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-63394</guid>
		<description>Thank you Dave!
I just spent all my afternoon trying to figure out $(document).ready() is too early and how to put up multiple pageLoad() events with Asp.Net ajax .
You Rock!!!</description>
		<content:encoded><![CDATA[<p>Thank you Dave!<br />
I just spent all my afternoon trying to figure out $(document).ready() is too early and how to put up multiple pageLoad() events with Asp.Net ajax .<br />
You Rock!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akash</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-42062</link>
		<dc:creator>Akash</dc:creator>
		<pubDate>Tue, 08 Feb 2011 01:08:41 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-42062</guid>
		<description>Thanks For Info . :)</description>
		<content:encoded><![CDATA[<p>Thanks For Info . :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Behtash Moradi</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-41865</link>
		<dc:creator>Behtash Moradi</dc:creator>
		<pubDate>Thu, 27 Jan 2011 05:39:13 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-41865</guid>
		<description>you really saved my time</description>
		<content:encoded><![CDATA[<p>you really saved my time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-40311</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Thu, 11 Nov 2010 06:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-40311</guid>
		<description>check out Sys.Application.add_load().</description>
		<content:encoded><![CDATA[<p>check out Sys.Application.add_load().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-40310</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Thu, 11 Nov 2010 02:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-40310</guid>
		<description>Dave,
you mention in your other article that pageLoad() function runs on every partial or regular postback, while the Sys.Application.add_init() wires a function that only executes once.  So if i want to have a control that needs to run logic that does need to execute similarly to pageLoad() then how would this work?  I might be missing  a point here.</description>
		<content:encoded><![CDATA[<p>Dave,<br />
you mention in your other article that pageLoad() function runs on every partial or regular postback, while the Sys.Application.add_init() wires a function that only executes once.  So if i want to have a control that needs to run logic that does need to execute similarly to pageLoad() then how would this work?  I might be missing  a point here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fajar Nurdiansyah</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-35921</link>
		<dc:creator>Fajar Nurdiansyah</dc:creator>
		<pubDate>Thu, 23 Jul 2009 08:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-35921</guid>
		<description>Excelent! This is exactly what I&#039;m looking for. I was using pageLoad before only to found out later the the user don&#039;t work if there are several of them in one page. Thanks dave!</description>
		<content:encoded><![CDATA[<p>Excelent! This is exactly what I&#8217;m looking for. I was using pageLoad before only to found out later the the user don&#8217;t work if there are several of them in one page. Thanks dave!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrnon</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-33648</link>
		<dc:creator>mrnon</dc:creator>
		<pubDate>Sun, 21 Dec 2008 21:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-33648</guid>
		<description>superb article. you&#039;re saving my time!

thanks for that</description>
		<content:encoded><![CDATA[<p>superb article. you&#8217;re saving my time!</p>
<p>thanks for that</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ahsteele</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-7183</link>
		<dc:creator>ahsteele</dc:creator>
		<pubDate>Wed, 06 Feb 2008 21:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-7183</guid>
		<description>I was scratching my head on this very issue.  Glad your site popped high in the Google search results.  http://www.google.com/search?q=Using+pageLoad+in+both+Master+and+Content&amp;hl=en</description>
		<content:encoded><![CDATA[<p>I was scratching my head on this very issue.  Glad your site popped high in the Google search results.  <a href="http://www.google.com/search?q=Using+pageLoad+in+both+Master+and+Content&#038;hl=en" rel="nofollow">http://www.google.com/search?q=Using+pageLoad+in+both+Master+and+Content&#038;hl=en</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-2748</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Sat, 15 Dec 2007 04:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-2748</guid>
		<description>Keep in mind that pageLoad() is just a shortcut function.  You can wire up as many of them as you want, to arbitrarily named functions, with Sys.Application.add_init().</description>
		<content:encoded><![CDATA[<p>Keep in mind that pageLoad() is just a shortcut function.  You can wire up as many of them as you want, to arbitrarily named functions, with Sys.Application.add_init().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G-moon</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-2639</link>
		<dc:creator>G-moon</dc:creator>
		<pubDate>Thu, 13 Dec 2007 18:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-2639</guid>
		<description>What a fantastic post!  So simple and elegant.</description>
		<content:encoded><![CDATA[<p>What a fantastic post!  So simple and elegant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Koen</title>
		<link>http://encosia.com/using-pageload-in-both-master-and-content-pages/#comment-2489</link>
		<dc:creator>Koen</dc:creator>
		<pubDate>Wed, 12 Dec 2007 08:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2007/11/20/using-pageload-in-both-master-and-content-pages/#comment-2489</guid>
		<description>Hi Dave,

Good post. I think this is a sad limitation of pageLoad that it only works once. Now you solved it for the master-content scenario.

But the same problem happens for user controls in a page. If you want to define the pageLoad in several user controls in the same page this scenario would not solve that. I&#039;m thinking of creating specific pageLoad methods for each control (e.g.: pageLoad_UserControlID) and then also rendering a setTimeout but I don&#039;t like it actually...

Cya</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>Good post. I think this is a sad limitation of pageLoad that it only works once. Now you solved it for the master-content scenario.</p>
<p>But the same problem happens for user controls in a page. If you want to define the pageLoad in several user controls in the same page this scenario would not solve that. I&#8217;m thinking of creating specific pageLoad methods for each control (e.g.: pageLoad_UserControlID) and then also rendering a setTimeout but I don&#8217;t like it actually&#8230;</p>
<p>Cya</p>
]]></content:encoded>
	</item>
</channel>
</rss>

