Contents tagged with Microsoft AJAX Library
-
JavaScript local alias pattern
Here’s a little pattern that is fairly common from
JavaScript developers but that is not very well known
from C# developers or people doing only occasional
JavaScript development.
-
Binding a select in a client template
I recently got a question on
one of my client template posts
asking me how to bind a select tag’s value to data in
client templates. I was surprised not to find anything on the web
addressing the problem, so I thought I’d write a short
post about it.
-
Enabling the ASP.NET Ajax script loader for your own scripts
In previous posts, I’ve shown different ways to build a
client-side class browser, using the ASP.NET Ajax Libary
and jQuery.
-
JavaScript class browser: once again with jQuery
I’ve already posted twice about that little class
browser application. The first iteration was mostly
declarative and can be found here:
http://weblogs.asp.net/bleroy/archive/2009/09/14/building-a-class-browser-with-microsoft-ajax-4-0-preview-5.aspx -
How to render the same template on the server and client with minimal redundancy
Last week, I wrote a post about how the new Microsoft Ajax Library Preview 6 made it a lot easier to write unobtrusive and imperative data-driven applications. Because for the previous preview, I had written a cool little class browser using a declarative style, I thought it would be nice to rewrite this in a completely imperative way. The mistake I made though was to call it unobtrusive. Never mind that ‘unobtrusive’ is a perfectly well-defined word that actually existed way before JavaScript. ‘Unobtrusive JavaScript’ has a very specific meaning that people feel strongly about. To be worthy of that label, an application must basically conform to (at least) those two requirements:
-
Entirely unobtrusive and imperative templates with Microsoft Ajax Library Preview 6
Today is the release of the sixth preview of Microsoft
Ajax Library. Don’t get fooled by the somewhat silly and
long name: this is a major release in many ways. The
scripts have been majorly refactored since preview 5.
Check out the other posts out there (links at the bottom
of this post) to see just some of the many new features
that are in there. Some of my favorite are all the small
improvements that have been made to make imperative
instantiation of components and templated contents
easier than ever. Many of you have told us that you
preferred to do things imperatively and this release
makes it a lot better.
-
Ajax Control Toolkit: new controls, bug fixes
And we have a new release of Ajax Control Toolkit. I
didn’t work on this one but there are some nice things
in there nonetheless :)
-
Building a class browser with Microsoft Ajax 4.0 Preview 5
The Microsoft Ajax Library 4.0 Preview 5 is the first
release of Microsoft Ajax that I didn’t participate in:
I left the team a few months ago. But that doesn’t mean
I don’t love what’s in there, and I really do. And by
the way I’ve also seen what’s in Preview 6 too and man
that will seriously rock.
-
querySelectorAll on old IE versions: something that doesn’t work
In today’s post, I’m going to show an interesting
technique to solve a problem and then I will tear it to
pieces and explain why it is actually useless. I believe
that negative results should also be published so that
we can save other people from wasting time trying the
same thing. So here goes…
-
Why is ASP.NET encoding &’s in script URLs? A tale of looking at entirely the wrong place for a cause to a non-existing bug.
Several people have
reported
seeing errors in their logs that seem to be due to
requests such as this: