title: How to do page initialization functions in ASP.NET AJAX?
body: <p>There seem to be a number of weird things one could do if one wanted, for hooking up page-load type events. Here are some specific questions:</p>
  <ol>
  <li>I know about the auto-hooked-up <code>pageLoad</code> function. Are there any others like it?</li>
  <li>Where do I hook up events like those from, e.g., <code>Sys.Application.add_init</code> or <code>Sys.WebForms.PageRequestManager.getInstance().addPageLoading</code>?</li>
  <li>What's the difference between the first two of those and <code>pageLoad</code>, if any?</li>
  <li>Rather importantly, what is the &quot;correct&quot; way to be sure that the ASP.NET AJAX files are all loaded before you start hooking up event handlers, processing the page, etc.? My current approach is to use the auto-hooked-up <code>pageLoad</code> to hook up the rest, but this seems kind of hacky.</li>
  </ol>