Quick question:
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:
- I know about the auto-hooked-up
pageLoad
function. Are there any others like it? - Where do I hook up events like those from, e.g.,
Sys.Application.add_init
orSys.WebForms.PageRequestManager.getInstance().addPageLoading
? - What's the difference between the first two of those and
pageLoad
, if any? - Rather importantly, what is the "correct" 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
pageLoad
to hook up the rest, but this seems kind of hacky.
Thanks!