Skip navigation.

HttpRequest.Params - A Helpful QuadAll recent postsMicrosoft AJAX Library: Sys.UI.DomElement Remarks

Microsoft AJAX Library Cheat Sheets: Adjusted for RTM, DomEvent and DomElement Added

Now that the Microsoft AJAX Library has shipped, I’ve updated the cheat sheets and added two more.

Debugging

Tracing now lives in its own class, Sys.Debug, and is the same as in RC1 (see my earlier post). I think renaming debug was a good move. Opera’s wimpy error console is now supported, too.

Minor RTM Adjustments

Since I couldn’t find a what-changed-since-RTM document, I ran RC1 and RTM code through Beyond Compare (which rocks!) and fished for changes.

Date and Number classes had their parse methods renamed to parseLocale and parseInvariant, even though their counterparts are named format and formatLocale. Strange.

Two new cheat sheets: DomElement and DomEvent

These two took as much time as the other four. The reason is that DomElement is an essential, often-used class, and has several gotchas. DomEvent has a lot of nuances of its own. MS AJAX documentation is too broad at times, so I tried to clarify as much, yet stay as concise as possible to keep the one-pager format.

I’ll try to highlight those nuances in a post or two.

Download

Grab the new batch in PDF (360K) or XPS (3.9M). Yes, Foxit Reader–compliant.

Being a stickler for accuracy, I’ve been proof-reading them till I was blue in the face, but… If you see something, say something.

Enjoy!

Comments

Comment permalink 1 Eddy Young |
Hello,

Thanks for making these cheat sheets available.

I have read about XPS only summarily. Looking at the two links above, I wonder why the XPS version weighs so much more than the PDF version? Is it because all the graphics assets required by the document are included in the XPS file?

Eddy
Comment permalink 2 Julian Birch |
I'm afraid the String.Format example doesn't compile. There's a stray close bracket. "user.DOB));" should read "user.DOB);".

Needless to say, I appreciate the phenomenal effort involved in developing these, and they're fabulously useful. Thanks.
Comment permalink 3 Millan Negovan |
Eddy, I'm not sure why they are so huge. And the quality is still not as good as that of PDFs. But, as with all things new, we'll give MS folks time to iron out the kinks.
Comment permalink 4 Elijah Manor |
What a handy resource! Thanks for putting those together. Keep up the great work.
Comment permalink 5 Okan Safi |
Hello Milan,

Thank you so much for providing these great ASP.NET AJAX PDF Cheat Sheets. This is indeed an outstanding effort.

Regards,

Okan Safi
Comment permalink 6 soufyen |
thank you..................
Comment permalink 7 Seth |
Thanks!

Any cheat sheets coming for the ASP.NET AJAX Toolkit?
Comment permalink 8 Milan Negovan |
Seth, no plans yet, but I do plan on writing a post or two about the "common" JavaScript library (common.js) they use there.
Comment permalink 9 Faisal |
Thanks very much for this cheat sheet.
Comment permalink 10 sun |
thank yo for everything

Emails and Notifications

Would you like to be notified when somebody responds to this post?  Would you like to have these comments emailed to you?

TrackBacks

Sorry, TrackBacks are not allowed.

Submit your comment

Please enter only text since all HTML tags except hyperlinks will be stripped. Hyperlinks will become live links. Any comments with flaming or offensive language will be deleted. Be courteous to other posters. Thank you.

Your name (required):
Your email (optional):
Your site's URL (optional):
Enter this number
Type in the number above:
Comment (required):