<?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: Article: Cross-browser ASP.NET AJAX Control Extender support &#8211; trickier than I thought</title>
	<atom:link href="http://damianblog.com/2007/02/12/xbrowser-extenders/feed/" rel="self" type="application/rss+xml" />
	<link>http://damianblog.com/2007/02/12/xbrowser-extenders/</link>
	<description>.NET from Geneva, Switzerland</description>
	<lastBuildDate>Tue, 31 Jan 2012 08:14:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Damian</title>
		<link>http://damianblog.com/2007/02/12/xbrowser-extenders/comment-page-1/#comment-57</link>
		<dc:creator>Damian</dc:creator>
		<pubDate>Thu, 22 Feb 2007 08:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/12/article-cross-browser-aspnet-ajax-control-extender-support-trickier-than-i-thought/#comment-57</guid>
		<description>Hello Bertrand,

The issue is that what is passed in the charCode in the DomEvent is inconsistent across browsers for &quot;special&quot; keys such as the cursor keys for the KeyPress event (which IE doesn&#039;t fire for these kinds of keys -- the problem is in FireFox, Safari and Opera).

The only way to determine whether the key that was pressed corresponds to a non-displayable key is to go under the hood.

For example if you hit Ampersand (ascii code 38) you&#039;ll get the same charCode as Sys.UI.Key.up in FireFox, in the KeyPress event.

The relevant section the Ajax runtime is:
    if (e.type === &#039;keypress&#039;) {
        this.charCode = e.charCode &#124;&#124; e.keyCode;
    }

Damian (damian at atadore com)</description>
		<content:encoded><![CDATA[<p>Hello Bertrand,</p>
<p>The issue is that what is passed in the charCode in the DomEvent is inconsistent across browsers for &#8220;special&#8221; keys such as the cursor keys for the KeyPress event (which IE doesn&#8217;t fire for these kinds of keys &#8212; the problem is in FireFox, Safari and Opera).</p>
<p>The only way to determine whether the key that was pressed corresponds to a non-displayable key is to go under the hood.</p>
<p>For example if you hit Ampersand (ascii code 38) you&#8217;ll get the same charCode as Sys.UI.Key.up in FireFox, in the KeyPress event.</p>
<p>The relevant section the Ajax runtime is:<br />
    if (e.type === &#8216;keypress&#8217;) {<br />
        this.charCode = e.charCode || e.keyCode;<br />
    }</p>
<p>Damian (damian at atadore com)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bertrand Le Roy</title>
		<link>http://damianblog.com/2007/02/12/xbrowser-extenders/comment-page-1/#comment-56</link>
		<dc:creator>Bertrand Le Roy</dc:creator>
		<pubDate>Thu, 22 Feb 2007 08:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/12/article-cross-browser-aspnet-ajax-control-extender-support-trickier-than-i-thought/#comment-56</guid>
		<description>I&#039;d be interested to hear why you had to use rawEvent to get to the key codes. Sys.UI.DomEvent should already do a cross-browser, consistent mapping of the codes that you should be able to directly compare with the key enumeration. Can you drop me mail so that we can discuss?</description>
		<content:encoded><![CDATA[<p>I&#8217;d be interested to hear why you had to use rawEvent to get to the key codes. Sys.UI.DomEvent should already do a cross-browser, consistent mapping of the codes that you should be able to directly compare with the key enumeration. Can you drop me mail so that we can discuss?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: salman</title>
		<link>http://damianblog.com/2007/02/12/xbrowser-extenders/comment-page-1/#comment-55</link>
		<dc:creator>salman</dc:creator>
		<pubDate>Wed, 21 Feb 2007 19:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.wordpress.com/2007/02/12/article-cross-browser-aspnet-ajax-control-extender-support-trickier-than-i-thought/#comment-55</guid>
		<description>Dear Damian,
considering i was trying to adapt the script to work for firefox without any success the cross browser article helped me with a thing or two. Thanks.

By the way what did you use for debugging your code.
trying to set breakpoints in &#039;errorless&#039; javscript using firebug resulted in never hitting the breakpoint unless  there is an error in the code. i.e break never occurs.
and when it does hit a breakpoint. the onblur event resets the listsearch div.
Sooo.. I Would be greatful if you could tell me What tools you use and how.(sorry for the lengthy comment)</description>
		<content:encoded><![CDATA[<p>Dear Damian,<br />
considering i was trying to adapt the script to work for firefox without any success the cross browser article helped me with a thing or two. Thanks.</p>
<p>By the way what did you use for debugging your code.<br />
trying to set breakpoints in &#8216;errorless&#8217; javscript using firebug resulted in never hitting the breakpoint unless  there is an error in the code. i.e break never occurs.<br />
and when it does hit a breakpoint. the onblur event resets the listsearch div.<br />
Sooo.. I Would be greatful if you could tell me What tools you use and how.(sorry for the lengthy comment)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

