<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Exception when setting Ajax timeout</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/exception-when-setting-ajax-timeout</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/exception-when-setting-ajax-timeout/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Rumen[Trirand] on Exception when setting Ajax timeout</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/exception-when-setting-ajax-timeout#p13010</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/exception-when-setting-ajax-timeout#p13010</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>One idea you can try is to hook the client-side loadError event and create your own error handling that will override the default one, e.g.</p>
<p>..</p>
<p>loadError: loadErrorHandler</p>
<p>..</p>
</p>
<p>loadErrorHandler(xht, st, handler) {</p>
<p>&#160;&#160; &#160; &#160;if (document.readyState ...</p>
<p>}</p></p>
]]></description>
        	        	<pubDate>Tue, 15 Dec 2009 00:12:07 +0200</pubDate>
        </item>
        <item>
        	<title>frodeo on Exception when setting Ajax timeout</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/exception-when-setting-ajax-timeout#p13008</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/exception-when-setting-ajax-timeout#p13008</guid>
        	        	<description><![CDATA[<p>If a jqgrid request times out, it seems that jqgrid tries to read nsIXMLHttpRequest.status before that field is available. I believe that XMLHttpRequest.readyState should be checked first. We are setting a global ajax timeout in jquery using $.ajaxSetup(&#39;timeout&#39;, someMilliseconds);<br />&#160;<br />uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: someURL:: anonymous :: line 0" data: no]</p>
]]></description>
        	        	<pubDate>Mon, 14 Dec 2009 23:49:41 +0200</pubDate>
        </item>
</channel>
</rss>