BT

A Fix for ASP.NET AJAX on the iPhone

| by Jonathan Allen on Sep 24, 2007. Estimated reading time: less than one minute |

According to Matt Gibbs, the 1.01 update to iPhone degrades the asynchronous features of Microsoft's AJAX library, specifically in its JSON serializer. Matt has provided instructions on how to fix this by altering the regular expressions used in the library.

ASP.NET AJAX is a bit of a misnomer. While it does provide libraries specific for ASP.NET, the client-side scripts were designed to be platform independent and is not tied to any specific web server technology. Released under the title Microsoft AJAX Library, these scripts are also used in PHP and ColdFusion sites.

According to Matt, the cause of the bug is a change to the regular expression engine included in iPhone's version of Safari. There is no word if this is a Safari bug per se and no blame is being placed on either party. The fix will also be included in the next version of ASP.NET AJAX.

Rate this Article

Relevance
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss
BT