"ASP.NET AJAX Client Life-Cycle Events" Cheat Sheet 2007-08-08 Update

Posted on August 08, 2007  |  

Posted in Development

7 comments

When I posted this cheat sheet back in June, Morten pointed out there was an arrow missing from Application.init to Application.load. Even though I wanted to illustrate three different stages, Morten raised a good point.

Also, while reading Microsoft AJAX Library Essentials today, I realized there was another arrow missing: from Application.load to pageLoad. I’ve updated the diagram and tested the sequence of events again to make sure the diagram is correct.

Microsoft AJAX client-side events

Please feel free to download the updated version (PDF). I also included it in the main cheat sheet bundle.

7 comments

Kevin Blakeley
on August 9, 2007

I would curious if you could comment on the book that you are reading. I noticed that it is a relatively new release, so there are no reviews on it so far.


Milan Negovan
on August 9, 2007

Yep, the book is brand new. I received a review copy from Packt (the publisher) as soon as it shipped. I'll post a review in a few days. Just don't want to jump to conclusions till I'm done reading it. :)

I also need to clarify a thing or two with the authors. For example, they say the unload event fires after pageUnload, but my tests show otherwise.


Morten
on August 9, 2007

"For example, they say the unload event fires after pageUnload, but my tests show otherwise."
But your cheat sheet has an arrow from pageUnload to unload (3.2), so if they are wrong, the cheat sheet is still wrong :-)


Milan Negovan
on August 9, 2007

I guess I confused myself. :) If they meant Application.unload, everything's correct. I wish they clarified which unload it is.


Milan Negovan
on August 9, 2007

I tend to think now it's the Application.unload due to its (sender, eventArgs) signature. We're good then.


Fduch
on August 12, 2007

Sorry for the silly and offtopic question.
In your post about stylesheets you mentioned this piece of code:
< link rel='stylesheet' type='text/css' media='print' href='< %= BaseURL %>/styles/print.css' />
but in my ASP.Net 2.0 master page it's rendered as
< link rel="stylesheet" type="text/css" media="print" href="< ;%= BaseURL %>/styles/print.css" />
Is there any way to fix that?


Milan Negovan
on August 13, 2007

I really have no idea. Btw, feel free to email me off-topic questions.