<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Update Panel .NET</title>
	<atom:link href="http://updatepanel.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://updatepanel.net</link>
	<description>Exploring Microsoft ASP.NET AJAX and jQuery</description>
	<lastBuildDate>Wed, 14 Jul 2010 22:34:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='updatepanel.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6d6faa6e770c0190e8359c0aa7e5ac74?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Update Panel .NET</title>
		<link>http://updatepanel.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://updatepanel.net/osd.xml" title="Update Panel .NET" />
	<atom:link rel='hub' href='http://updatepanel.net/?pushpress=hub'/>
		<item>
		<title>Internet Explorer 6 &amp; 7 limits border width to 960 pixels</title>
		<link>http://updatepanel.net/2010/07/14/internet-explorer-6-7-limits-border-width-to-960-pixels/</link>
		<comments>http://updatepanel.net/2010/07/14/internet-explorer-6-7-limits-border-width-to-960-pixels/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 22:34:00 +0000</pubDate>
		<dc:creator>tzkuei</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://updatepanel.net/?p=748</guid>
		<description><![CDATA[I was playing around with ideas for achieving a searchlight/spotlight effect using pure CSS, and stumbled upon this maximum border width limitation in IE 6 &#38; 7. Basically, you can have any border width from 0 to 960 pixels. Any value greater are ignored and the border remains 960 pixels wide.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=748&subd=updatepanel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I was playing around with ideas for achieving a searchlight/spotlight effect using pure CSS, and stumbled upon this maximum border width limitation in IE 6 &amp; 7.</p>
<p>Basically, you can have any border width from 0 to 960 pixels.  Any value greater are ignored and the border remains 960 pixels wide.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/updatepanel.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/updatepanel.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/updatepanel.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/updatepanel.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/updatepanel.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/updatepanel.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/updatepanel.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/updatepanel.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/updatepanel.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/updatepanel.wordpress.com/748/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=748&subd=updatepanel&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://updatepanel.net/2010/07/14/internet-explorer-6-7-limits-border-width-to-960-pixels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80031bc4bd80fd8a31f8d10b8fe5f22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tzkuei</media:title>
		</media:content>
	</item>
		<item>
		<title>Use &#8220;with&#8221; care!</title>
		<link>http://updatepanel.net/2010/04/19/use-with-care/</link>
		<comments>http://updatepanel.net/2010/04/19/use-with-care/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 22:03:35 +0000</pubDate>
		<dc:creator>tzkuei</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://updatepanel.net/?p=743</guid>
		<description><![CDATA[The &#8220;with&#8221; statement in JavaScript is considered harmful, but is it really? To better illustrate the point, here is my example: var error = {     alert: function(text) {         document.write(text);     } } alert(&#34;Crash&#34;); with (error) {     alert(&#34;Bang&#34;); } The error object has a member function called alert, which writes out the text to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=743&subd=updatepanel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>The &#8220;with&#8221; statement in JavaScript is <a href="http://www.yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/" target="_blank">considered harmful</a>, but is it really?</p>
<p>To better illustrate the point, here is my example:</p>
<pre class="brush: jscript;">var error = {
    alert: function(text) {
        document.write(text);
    }
}
alert(&quot;Crash&quot;);
with (error) {
    alert(&quot;Bang&quot;);
}</pre>
<p>The error object has a member function called alert, which writes out the text to the document, but the global (window) object also as an alert function which displays the text in a dialog.</p>
<p>So which alert function will be called in the scope of the &#8220;with&#8221; statement?</p>
<p>Well, it is error.alert, but it is not obvious if you are just scanning through the code, and worse, what if you actually meant to call window.alert?</p>
<p>So, use &#8220;with&#8221; care!</p>
<p>N.B. The &#8220;with&#8221; statement is particularly helpful when using &#8220;Math&#8221; functions.</p>
<p>For example, you can reduce this:</p>
<pre class="brush: jscript;">...
p2.Latitude = Math.asin(Math.sin(lat) * Math.cos(d) + Math.cos(lat) * Math.sin(d) * Math.cos(brng));
p2.Longitude = ((lon + Math.atan2(Math.sin(brng) * Math.sin(d) * Math.cos(lat), Math.cos(d) - Math.sin(lat) * Math.sin(p2.Latitude))) * 180) / Math.PI;
p2.Latitude = (p2.Latitude * 180) / Math.PI;
...</pre>
<p>Down to:</p>
<pre class="brush: jscript;">with (Math) {
...
p2.Latitude = asin(sin(lat) * cos(d) + cos(lat) * sin(d) * cos(brng));
p2.Longitude = ((lon + atan2(sin(brng) * sin(d) * cos(lat), cos(d) - sin(lat) * sin(p2.Latitude))) * 180) / PI;
p2.Latitude = (p2.Latitude * 180) / PI;
...
}</pre>
<p>The resulting code is lighter and easier to read.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/updatepanel.wordpress.com/743/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/updatepanel.wordpress.com/743/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/updatepanel.wordpress.com/743/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/updatepanel.wordpress.com/743/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/updatepanel.wordpress.com/743/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/updatepanel.wordpress.com/743/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/updatepanel.wordpress.com/743/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/updatepanel.wordpress.com/743/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/updatepanel.wordpress.com/743/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/updatepanel.wordpress.com/743/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=743&subd=updatepanel&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://updatepanel.net/2010/04/19/use-with-care/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80031bc4bd80fd8a31f8d10b8fe5f22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tzkuei</media:title>
		</media:content>
	</item>
		<item>
		<title>Pattern # 3 &amp; 4 &#8211; Singleton, Factory Observer</title>
		<link>http://updatepanel.net/2010/04/16/pattern-3-4-singleton-factory-observer/</link>
		<comments>http://updatepanel.net/2010/04/16/pattern-3-4-singleton-factory-observer/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 14:41:13 +0000</pubDate>
		<dc:creator>tzkuei</dc:creator>
				<category><![CDATA[Humour]]></category>
		<category><![CDATA[Design Patterns]]></category>

		<guid isPermaLink="false">http://updatepanel.net/?p=736</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=736&subd=updatepanel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://updatepanel.files.wordpress.com/2010/04/pattern3.png"><img class="aligncenter size-full wp-image-737" title="Pattern # 3 &amp; 4 - Singleton, Factory Observer" src="http://updatepanel.files.wordpress.com/2010/04/pattern3.png?w=700&#038;h=506" alt="" width="700" height="506" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/updatepanel.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/updatepanel.wordpress.com/736/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/updatepanel.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/updatepanel.wordpress.com/736/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/updatepanel.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/updatepanel.wordpress.com/736/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/updatepanel.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/updatepanel.wordpress.com/736/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/updatepanel.wordpress.com/736/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/updatepanel.wordpress.com/736/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=736&subd=updatepanel&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://updatepanel.net/2010/04/16/pattern-3-4-singleton-factory-observer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80031bc4bd80fd8a31f8d10b8fe5f22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tzkuei</media:title>
		</media:content>

		<media:content url="http://updatepanel.files.wordpress.com/2010/04/pattern3.png" medium="image">
			<media:title type="html">Pattern # 3 &#38; 4 - Singleton, Factory Observer</media:title>
		</media:content>
	</item>
		<item>
		<title>Pattern # 2 &#8211; Inversion of Dependants</title>
		<link>http://updatepanel.net/2010/04/15/pattern-2-inversion-of-dependants/</link>
		<comments>http://updatepanel.net/2010/04/15/pattern-2-inversion-of-dependants/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 22:44:14 +0000</pubDate>
		<dc:creator>tzkuei</dc:creator>
				<category><![CDATA[Humour]]></category>
		<category><![CDATA[Design Patterns]]></category>

		<guid isPermaLink="false">http://updatepanel.net/?p=732</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=732&subd=updatepanel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://updatepanel.files.wordpress.com/2010/04/iod.png"><img class="aligncenter size-full wp-image-733" title="Pattern # 2 - Inversion of Dependants" src="http://updatepanel.files.wordpress.com/2010/04/iod.png?w=700&#038;h=488" alt="" width="700" height="488" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/updatepanel.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/updatepanel.wordpress.com/732/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/updatepanel.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/updatepanel.wordpress.com/732/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/updatepanel.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/updatepanel.wordpress.com/732/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/updatepanel.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/updatepanel.wordpress.com/732/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/updatepanel.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/updatepanel.wordpress.com/732/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=732&subd=updatepanel&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://updatepanel.net/2010/04/15/pattern-2-inversion-of-dependants/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80031bc4bd80fd8a31f8d10b8fe5f22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tzkuei</media:title>
		</media:content>

		<media:content url="http://updatepanel.files.wordpress.com/2010/04/iod.png" medium="image">
			<media:title type="html">Pattern # 2 - Inversion of Dependants</media:title>
		</media:content>
	</item>
		<item>
		<title>Pattern # 1 &#8211; Injection of Control</title>
		<link>http://updatepanel.net/2010/04/15/pattern-1-injection-of-control/</link>
		<comments>http://updatepanel.net/2010/04/15/pattern-1-injection-of-control/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 22:38:52 +0000</pubDate>
		<dc:creator>tzkuei</dc:creator>
				<category><![CDATA[Humour]]></category>
		<category><![CDATA[Design Patterns]]></category>

		<guid isPermaLink="false">http://updatepanel.net/?p=726</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=726&subd=updatepanel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://updatepanel.files.wordpress.com/2010/04/ioc.png"><img class="aligncenter size-full wp-image-727" title="Pattern # 1 - Injection of Control" src="http://updatepanel.files.wordpress.com/2010/04/ioc.png?w=700&#038;h=488" alt="" width="700" height="488" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/updatepanel.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/updatepanel.wordpress.com/726/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/updatepanel.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/updatepanel.wordpress.com/726/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/updatepanel.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/updatepanel.wordpress.com/726/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/updatepanel.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/updatepanel.wordpress.com/726/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/updatepanel.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/updatepanel.wordpress.com/726/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=726&subd=updatepanel&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://updatepanel.net/2010/04/15/pattern-1-injection-of-control/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80031bc4bd80fd8a31f8d10b8fe5f22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tzkuei</media:title>
		</media:content>

		<media:content url="http://updatepanel.files.wordpress.com/2010/04/ioc.png" medium="image">
			<media:title type="html">Pattern # 1 - Injection of Control</media:title>
		</media:content>
	</item>
		<item>
		<title>Crockford on JavaScript (Videos)</title>
		<link>http://updatepanel.net/2010/03/10/crockford-on-javascript-videos/</link>
		<comments>http://updatepanel.net/2010/03/10/crockford-on-javascript-videos/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 08:45:23 +0000</pubDate>
		<dc:creator>tzkuei</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://updatepanel.wordpress.com/?p=722</guid>
		<description><![CDATA[Yes, I am a fan of Douglas Crockford, it was his series of tutorials that really got me excited about JavaScript. He is back with a series of presentations on JavaScript, and here are the links to the episodes: Volume One: The Early Years Chapter 2: And Then There Was JavaScript Act III: Function the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=722&subd=updatepanel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, I am a fan of Douglas Crockford, it was his series of <a href="http://updatepanel.wordpress.com/2007/12/01/javascript-tutorial-videos-at-yahoo-ui-library-yui-theater/">tutorials</a> that really got me excited about JavaScript.</p>
<p>He is back with a series of presentations on JavaScript, and here are the links to the episodes:</p>
<ul>
<li><a href="http://developer.yahoo.com/yui/theater/video.php?v=crockonjs-1">Volume One: The Early Years</a></li>
<li><a href="http://developer.yahoo.com/yui/theater/video.php?v=crockonjs-2">Chapter 2: And Then There Was JavaScript</a></li>
<li><a href="http://developer.yahoo.com/yui/theater/video.php?v=crockonjs-3">Act III: Function the Ultimate</a></li>
<li><a href="http://developer.yahoo.com/yui/theater/video.php?v=crockonjs-4">Episode IV: The Metamorphosis of Ajax</a></li>
<li><a href="http://developer.yahoo.com/yui/theater/video.php?v=crockonjs-5">Part V: The End of All Things</a></li>
</ul>
<p>Enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/updatepanel.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/updatepanel.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/updatepanel.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/updatepanel.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/updatepanel.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/updatepanel.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/updatepanel.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/updatepanel.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/updatepanel.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/updatepanel.wordpress.com/722/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=722&subd=updatepanel&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://updatepanel.net/2010/03/10/crockford-on-javascript-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80031bc4bd80fd8a31f8d10b8fe5f22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tzkuei</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft AJAX Library Preview 6 Available</title>
		<link>http://updatepanel.net/2009/10/19/microsoft-ajax-library-preview-6-available/</link>
		<comments>http://updatepanel.net/2009/10/19/microsoft-ajax-library-preview-6-available/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 08:59:53 +0000</pubDate>
		<dc:creator>tzkuei</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Microsoft AJAX Library]]></category>
		<category><![CDATA[Microsoft ASP.NET AJAX]]></category>
		<category><![CDATA[AJAX]]></category>

		<guid isPermaLink="false">http://updatepanel.wordpress.com/?p=720</guid>
		<description><![CDATA[Yeah, new stuff to play with! Read more about this release: Announcing Microsoft Ajax Library (Preview 6) and the Microsoft Ajax Minifier How the Script Loader in the Microsoft Ajax Library will make your life wonderful Entirely unobtrusive and imperative templates with Microsoft Ajax Library Preview 6 Using the New Microsoft Ajax Minifier<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=720&subd=updatepanel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Yeah, new stuff to play with!</p>
<p>Read more about this release:</p>
<ul>
<li><a href="http://weblogs.asp.net/scottgu/archive/2009/10/15/announcing-microsoft-ajax-library-preview-6-and-the-microsoft-ajax-minifier.aspx" target="_blank">Announcing Microsoft Ajax Library (Preview 6) and the Microsoft Ajax Minifier</a></li>
<li><a href="http://www.jamessenior.com/post/How-the-Script-Loader-in-the-Microsoft-Ajax-Library-will-make-your-life-wonderful.aspx" target="_blank">How the Script Loader in the Microsoft Ajax Library will make your life wonderful</a></li>
<li><a href="http://weblogs.asp.net/bleroy/archive/2009/10/15/entirely-unobtrusive-and-imperative-templates-with-microsoft-ajax-4-preview-6.aspx" target="_blank">Entirely unobtrusive and imperative templates with Microsoft Ajax Library Preview 6</a></li>
<li><a href="http://stephenwalther.com/blog/archive/2009/10/16/using-the-new-microsoft-ajax-minifier.aspx" target="_blank">Using the New Microsoft Ajax Minifier </a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/updatepanel.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/updatepanel.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/updatepanel.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/updatepanel.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/updatepanel.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/updatepanel.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/updatepanel.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/updatepanel.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/updatepanel.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/updatepanel.wordpress.com/720/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=720&subd=updatepanel&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://updatepanel.net/2009/10/19/microsoft-ajax-library-preview-6-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80031bc4bd80fd8a31f8d10b8fe5f22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tzkuei</media:title>
		</media:content>
	</item>
		<item>
		<title>You should disable the DEFLATE compression scheme in IIS 6</title>
		<link>http://updatepanel.net/2009/09/29/you-should-disable-the-deflate-compression-scheme-in-iis-6/</link>
		<comments>http://updatepanel.net/2009/09/29/you-should-disable-the-deflate-compression-scheme-in-iis-6/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 14:29:11 +0000</pubDate>
		<dc:creator>tzkuei</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Compression]]></category>
		<category><![CDATA[Deflate]]></category>

		<guid isPermaLink="false">http://updatepanel.net/?p=715</guid>
		<description><![CDATA[If you are using IIS 6, and has compression switched on, and is experiencing intermittent problems such as broken page styling or JavaScript errors when browsing with IE 7/8, then the simple fix is to disable the deflate compression scheme from IIS 6: ADSUtil.vbs Set W3SVC/Filters/Compression/deflate/HcDoStaticCompression FALSE ADSUtil.vbs Set W3SVC/Filters/Compression/deflate/HcDoOnDemandCompression FALSE ADSUtil.vbs Set W3SVC/Filters/Compression/deflate/HcDoDynamicCompression FALSE<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=715&subd=updatepanel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>If you are using IIS 6, and has compression switched on, and is experiencing intermittent problems such as broken page styling or JavaScript errors when browsing with IE 7/8, then the simple fix is to disable the deflate compression scheme from IIS 6:</p>
<pre class="brush: vb;">ADSUtil.vbs Set W3SVC/Filters/Compression/deflate/HcDoStaticCompression FALSE
ADSUtil.vbs Set W3SVC/Filters/Compression/deflate/HcDoOnDemandCompression FALSE
ADSUtil.vbs Set W3SVC/Filters/Compression/deflate/HcDoDynamicCompression FALSE</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/updatepanel.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/updatepanel.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/updatepanel.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/updatepanel.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/updatepanel.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/updatepanel.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/updatepanel.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/updatepanel.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/updatepanel.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/updatepanel.wordpress.com/715/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=715&subd=updatepanel&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://updatepanel.net/2009/09/29/you-should-disable-the-deflate-compression-scheme-in-iis-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80031bc4bd80fd8a31f8d10b8fe5f22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tzkuei</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET AJAX Validator</title>
		<link>http://updatepanel.net/2009/09/11/asp-net-ajax-validator/</link>
		<comments>http://updatepanel.net/2009/09/11/asp-net-ajax-validator/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 13:02:31 +0000</pubDate>
		<dc:creator>tzkuei</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Microsoft ASP.NET AJAX]]></category>

		<guid isPermaLink="false">http://updatepanel.net/?p=693</guid>
		<description><![CDATA[As promised weeks ago, here is my ASP.NET AJAX validation control &#8220;framework&#8221;. To create your own AJAX validation control: 1. Create a new class which inherits UPDN.AjaxValidator: public class YourValidator : UPDN.AjaxValidator { /*...*/ } 2. Provide a public static method to perform the validation, the signature of the method should be: public static ValidationResult YourValidationMethod(string value) 3. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=693&subd=updatepanel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>As promised weeks ago, <a href="http://cid-5f33bab5e582b5ff.skydrive.live.com/self.aspx/UPDN/UPDN.AjaxValidator.zip" target="_blank">here</a> is my ASP.NET AJAX validation control &#8220;framework&#8221;.</p>
<p>To create your own AJAX validation control:</p>
<p>1. Create a new class which inherits UPDN.AjaxValidator:</p>
<pre class="brush: java;">public class YourValidator : UPDN.AjaxValidator { /*...*/ }</pre>
<p>2. Provide a public static method to perform the validation, the signature of the method should be:</p>
<pre class="brush: java;">public static ValidationResult YourValidationMethod(string value)</pre>
<p>3. Override OnServerValidate to call your public static validation method:</p>
<pre class="brush: java;">protected override bool OnServerValidate(string value)
{
    var result = YourValidationMethod(value);
    return result.IsValid;
}</pre>
<p>4. Override GetScriptReferences to include your client-side script:</p>
<pre class="brush: java;">protected override void GetScriptReferences(ScriptReferenceCollection references)
{
    base.GetScriptReferences(references);
    references.Add(new ScriptReference(&quot;~/Scripts/YourValidator.js&quot;));
}</pre>
<p>5. Create the client-side control for your validation control, which inherits UPDN.AjaxValidator:</p>
<pre class="brush: jscript;">Type.registerNamespace(&quot;Example&quot;);
Example.YourValidator = function(element) {
    Example.YourValidator.initializeBase(this, [element]);
};
Example.YourValidator.prototype = {
    // Override validate to do pre-validation checks.
    validate: function(val, args, event) {
        Example.YourValidator.callBaseMethod(this, &quot;validate&quot;, [val, args, event]);
    },
    // Override validated to do post-validation stuff.
    validated: function(result, event) {
        var val = this.get_element();
        // Do your custom validation message display stuff here!
    }
};
Example.YourValidator.registerClass(&quot;Example.YourValidator&quot;, UPDN.AjaxValidator);</pre>
<p>6. Expose the YourValidationMethod method in YourValidator class as a &#8220;<a href="http://www.singingeels.com/Articles/Using_Page_Methods_in_ASPNET_AJAX.aspx" target="_blank">Page Method</a>&#8221; in the code-behind:</p>
<pre class="brush: java;">[WebMethod]
public static ValidationResult YourValidationPageMethod(string domain)
{
    return YourValidator.YourValidationMethod(domain);
}</pre>
<p>7. Add reference to your validation control in Web.config:</p>
<pre class="brush: xml;">&lt;pages&gt;
    &lt;controls&gt;
    ...
        &lt;add tagPrefix=&quot;example&quot; namespace=&quot;Example&quot;/&gt;
    &lt;/controls&gt;
&lt;/pages&gt;</pre>
<p>8. Add the validation control to your page, set the PageMethodName property to &#8220;YourValidationPageMethod&#8221;:</p>
<pre class="brush: xml;">&lt;example:YourValidator runat=&quot;server&quot; ID=&quot;YourValidator1&quot; ControlToValidate=&quot;TextBox1&quot; Display=&quot;Dynamic&quot; ErrorMessage=&quot;Your error message&quot; PageMethodName=&quot;YourValidationMethod&quot; ProgressIndicatorCssClass=&quot;wait&quot; /&gt;</pre>
<p>Download the (VS.NET 2008) <a href="http://cid-5f33bab5e582b5ff.skydrive.live.com/self.aspx/UPDN/UPDN.AjaxValidator.zip" target="_blank">solution</a> from my SkyDrive.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/updatepanel.wordpress.com/693/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/updatepanel.wordpress.com/693/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/updatepanel.wordpress.com/693/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/updatepanel.wordpress.com/693/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/updatepanel.wordpress.com/693/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/updatepanel.wordpress.com/693/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/updatepanel.wordpress.com/693/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/updatepanel.wordpress.com/693/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/updatepanel.wordpress.com/693/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/updatepanel.wordpress.com/693/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=693&subd=updatepanel&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://updatepanel.net/2009/09/11/asp-net-ajax-validator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80031bc4bd80fd8a31f8d10b8fe5f22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tzkuei</media:title>
		</media:content>
	</item>
		<item>
		<title>How to make Selenium Sizzle</title>
		<link>http://updatepanel.net/2009/09/01/how-to-make-selenium-sizzle/</link>
		<comments>http://updatepanel.net/2009/09/01/how-to-make-selenium-sizzle/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 09:16:15 +0000</pubDate>
		<dc:creator>tzkuei</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Selenium]]></category>

		<guid isPermaLink="false">http://updatepanel.net/?p=686</guid>
		<description><![CDATA[Selenium is a good client-side testing framework and integrates Dean Edward&#8217;s cssQuery library, but as a seasoned :p jQuery developer, I would like to be able to use all the selectors available in jQuery. Luckily, Sizzle is the selector engine that powers the jQuery library, and it is designed to be easily dropped into a host library, and that includes the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=686&subd=updatepanel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p><span><a title="Selenium web application testing system" href="http://seleniumhq.org/" target="_blank">Selenium</a> is a good client-side testing framework and integrates <a href="http://dean.edwards.name/my/cssQuery/" target="_blank">Dean Edward&#8217;s cssQuery library</a>, but as a seasoned :p jQuery developer, I would like to be able to use all the selectors available in jQuery.</span></p>
<p><span>Luckily, </span><a title="Sizzle JavaScript Selector Library" href="http://sizzlejs.com/" target="_blank">Sizzle</a> is the <span>selector engine that powers the jQuery library, and it is designed to be easily dropped into a host library, and that includes the Selenium framework.</span></p>
<p><span>Okay, I&#8217;ll stop repeating what you already knew, and tell you how I integrated Sizzle into the Selenium framework:</span></p>
<p><span>1. Start Selenium IDE, open the Options dialog.</span></p>
<p><span>2. Click the [Browse...] button for the &#8220;Selenium Core extensions&#8221; field, locate and select &#8221;sizzle.js&#8221;.</span></p>
<p><span>3. Create or update &#8220;user-extensions.js&#8221;, adding the following snippet:</span></p>
<p><span>
<pre class="brush: jscript;">function eval_css(locator, inDocument) {
    var results = [];
    window.Sizzle(locator, inDocument, results);
    return results
}</pre>
<p> </p>
<p></span><span>This bit of code simply overrides the eval_css() function in htmlutils.js to use the Sizzle engine.</span></p>
<p><span>4. </span><span>Click the [Browse...] button again, this time locate and select &#8221;user-extensions.js&#8221;.</span></p>
<p><span><img class="alignnone size-full wp-image-691" title="01-09-2009 10-17-22" src="http://updatepanel.files.wordpress.com/2009/09/01-09-2009-10-17-22.png?w=520&#038;h=600" alt="01-09-2009 10-17-22" width="520" height="600" /></span></p>
<p><span>5. Close and restart Selenium IDE.</span></p>
<p><span>Now, try out the <a href="http://wiki.github.com/jeresig/sizzle" target="_blank">Sizzle selectors</a>, for example:</span></p>
<p><span>Navigate to <a href="http://www.google.co.uk/preferences?hl=en">http://www.google.co.uk/preferences?hl=en</a></span></p>
<p>Insert a new command, in the Target field, enter:</p>
<pre class="brush: css;">css=:checkbox[name=lr]:last</pre>
<p>Now click the [Find] button and you should see the checkbox for Vietnamese highlighted.</p>
<p><span>I have not (yet) tried this with Selenium RC, but if you want to have a go, please refer to <a href="http://seleniumhq.org/docs/08_user_extensions.html#using-user-extensions-with-selenium-rc" target="_blank">Using User-Extensions With Selenium RC</a>.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/updatepanel.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/updatepanel.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/updatepanel.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/updatepanel.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/updatepanel.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/updatepanel.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/updatepanel.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/updatepanel.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/updatepanel.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/updatepanel.wordpress.com/686/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=updatepanel.net&blog=3996414&post=686&subd=updatepanel&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://updatepanel.net/2009/09/01/how-to-make-selenium-sizzle/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80031bc4bd80fd8a31f8d10b8fe5f22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tzkuei</media:title>
		</media:content>

		<media:content url="http://updatepanel.files.wordpress.com/2009/09/01-09-2009-10-17-22.png" medium="image">
			<media:title type="html">01-09-2009 10-17-22</media:title>
		</media:content>
	</item>
	</channel>
</rss>