Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Sep 16, 2009 04:09 PM|LINK
If there's any difference, it's negligible. Sys.Application will check for pageLoad in an attempt to call it after every partial postback, even if it doesn't exist anyway. Sort of like AutoEventWireup that you can't disable.
One nice thing about using pageLoad is that you can consolidate both initialization and re-initialization into that single function. With it, you won't need the $(document).ready() initialization. Using EndRequest, you'll still need to set prettyPhoto
up in $(document).ready too.