<?xml version="1.0" encoding="UTF-8"?>
<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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mgthantzin.com/blog &#187; javascript</title>
	<atom:link href="http://mgthantzin.com/blog/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://mgthantzin.com/blog</link>
	<description>After the sunset, a new day must be born,... trust me.</description>
	<lastBuildDate>Fri, 27 May 2011 02:21:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Cross-page PostBack (PostBackURL) &amp; OnClientClick</title>
		<link>http://mgthantzin.com/blog/2010/05/cross-page-postback-postbackurl-onclientclick/</link>
		<comments>http://mgthantzin.com/blog/2010/05/cross-page-postback-postbackurl-onclientclick/#comments</comments>
		<pubDate>Mon, 24 May 2010 07:46:54 +0000</pubDate>
		<dc:creator>mgthantzin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[confirmation]]></category>
		<category><![CDATA[cross-page]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[postback]]></category>
		<category><![CDATA[postbackurl]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://mgthantzin.com/blog/?p=49</guid>
		<description><![CDATA[If you use cross-page postback and javascript validation together, there is a chance that they can conflict. It is because user-defined validation can breaks the cross-page postback (which uses javascript as well to redirect to next page). Solution can be found here.]]></description>
			<content:encoded><![CDATA[<p>If you use cross-page postback and javascript validation together, there is a chance that they can conflict. It is because user-defined validation can breaks the cross-page postback (which uses javascript as well to redirect to next page). Solution can be found <a href="http://aspadvice.com/blogs/joteke/archive/2006/04/30/17118.aspx" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mgthantzin.com/blog/2010/05/cross-page-postback-postbackurl-onclientclick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript pageLoad() for MasterPage and ContentPage</title>
		<link>http://mgthantzin.com/blog/2010/05/javascript-pageload-for-masterpage-and-contentpage/</link>
		<comments>http://mgthantzin.com/blog/2010/05/javascript-pageload-for-masterpage-and-contentpage/#comments</comments>
		<pubDate>Thu, 13 May 2010 16:03:27 +0000</pubDate>
		<dc:creator>mgthantzin</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[contentpage]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[masterpage]]></category>
		<category><![CDATA[pageLoad()]]></category>

		<guid isPermaLink="false">http://mgthantzin.com/blog/?p=31</guid>
		<description><![CDATA[Sometimes, we need to use pageLoad() function in both MasterPage and ContentPage to get something done. But, if we add two function with such same name, that function residing in ContentPage will be ignored by the browser. To correct this behaviour, we need to extend pageLoad() function in MasterPage as follows: In MasterPage function pageLoad(sender, [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes, we need to use pageLoad() function in both  MasterPage and ContentPage to get something done. But, if we add two  function with such same name, that function residing in ContentPage will  be ignored by the browser. To correct this behaviour, we need to extend  pageLoad() function in MasterPage as follows:</p>
<p>In MasterPage</p>
<div>
<table>
<tbody>
<tr>
<td>
<pre>function pageLoad(sender, args)
{
...
// ... do my MasterPage JavaScript stuff...
...
if (window.contentPageLoad) {
window.contentPageLoad(sender, args);
}
}</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p></p>
<p>In ContentPage</p>
<div>
<table>
<tbody>
<tr>
<td>
<pre>function contentPageLoad(sender, args)
{
// do something
}</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p></p>
<p>Credit goes to <a href="http://devio.wordpress.com/2009/02/22/javascript-pageload-for-masterpage-and-contentpage/" target="_blank">devioblog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mgthantzin.com/blog/2010/05/javascript-pageload-for-masterpage-and-contentpage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

