Skip navigation.

Book Review: The JavaScript AnthologyAll recent postsLousy beer. Rude service. Welcome!

Cheat Sheets: Microsoft AJAX Library Type Extensions

When I saw Yahoo! UI Library cheat sheets, I got jealous. I wanted something like this for the Microsoft AJAX Library.

There’s no way I can remember the syntax of all type extensions in MS AJAX. Aptana has a nice “IntelliSense” for JavaScript functions, but how often do you develop Web Forms in Aptana?

So I experimented with various formats, and here’s what I’ve got so far for the Array Type Extensions (click to download a PDF):

Microsoft AJAX Library: Array Type Extensions

Ideas? Suggestions? In the meantime, I’ll work on other cheat sheets.

Comments

Comment permalink 1 Jason Grunstra |
Not sure if it's anything you are doing, but it looks weird when viewing the PDF with FoxitReader (v 2.0).

Thanks for taking the time to create it though!
Comment permalink 2 Shane Shepherd |
Milan - Great! I've found that Microsoft ASP.NET AJAX is extremely under-documented. I try to blog about it whenever I figure something out new. The newness of the framework, and it's extensions means that there is not as much even in the blogosphere to rely on. Having references like this could save tons of time.
Comment permalink 3 James Curran |
First of all, I have to confirm Jason comments above. SOmething funky happens with Foxit Reader (It apparently refuses to render the font you used for the title and section heads)

Secondly, for dequeue, you have:

result = Array.dequeue(myArray);
// The result is: "b,c,d"


um... shouldn't "result" be "a", while myArray is "b,c,d" ?
Comment permalink 4 Milan Negovan |
@Jason, James: Thank you, guys, for pointing it out.

I'm still working through the samples and Microsoft's documentation which is inconsistent at times, and some samples happen to be incorrect or missing. Stay tuned.

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?

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):