title: Reasons why ASP.NET AJAX would be disabled
body: <p>I have an ASP.NET application that uses ASP.NET AJAX and the AJAX Control Toolkit. The application runs fine on all recent browsers on a PC. It also works fine on my iPad, at least the first time the application is accessed. I have found that if I shut down the iPad and return to the page later (via a bookmark or similar), the site is broken. I have narrowed down the failure to an ASP.NET/ASP.NET AJAX issue/bug/limitation, and I'm looking for some help to progress. </p>
  
  <p>Using Fiddler as a proxy server for the iPad, I have identified the following problems, when re-opening the page. </p>
  
  <ol>
  <li>My *.skin file is not properly applied. The generated style tag simply doesn't include some of the parameters specified in the *.skin file. </li>
  <li>The page does not include the MicrosoftAjaxWebForms.js file. (When working, it emits a reference to ScriptResource.axd right above all of the ToolkitScriptManager scripts. </li>
  <li>The page does not include a reference to another js file starting with function WebForm_FindFirstFocusableChild(control) </li>
  <li>The page does not include a few hidden fields such as __LASTFOCUS, __EVENTTARGET and __EVENTARGUMENT</li>
  <li>The page doesn't include a script block using document.forms['aspnetForm'] and defining __doPostBack. </li>
  <li>The page doesn't include a script block executing Sys.WebForms.PageRequestManager._initialize</li>
  <li>A few other initialization scripts are not present (setting focus, creating updateprogress, etc.)</li>
  </ol>
  
  <p>Somehow, it appears the framework decides that it isn't doesn't need these scripts and doesn't emit them. Given all the scripts are interrelated, there must be a common reason. This may be related to the reason that the *.skin properties are not included. Any ideas? I would have thought about browser capabilities, but this only happens on subsequent visits to the site, not the first. </p>
  
  <p>Edit:
  Definitely looking like a browser capability issue. </p>
  
  <p>Requests that work: 
  User-Agent: Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) <strong>Version/5.0.2</strong> </p>
  
  <p>Requests that don't:
  User-Agent: Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) <strong>Mobile/8J2</strong></p>
  
  <p>Will attempt creating a custom file in App_Browsers and post back with extra info. </p>