What's the different between ASP.NET AJAX pageLoad() and JavaScript window.onload?

Posted by Amr ElGarhy on Stack Overflow See other posts from Stack Overflow or by Amr ElGarhy
Published on 2009-03-02T14:01:30Z Indexed on 2010/05/19 23:20 UTC
Read the original article Hit count: 213

Filed under:
|
|
|

I'm working with ASP.NET AJAX and want to understand the difference between these two snippets:

function pageLoad(sender, eventArgs) { }

and

window.onload = function() { }
  • Do they act the same?
  • Or is one called before the other?
  • Or will one be called automatically and the another not?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about ASP.NET