Quantcast
Channel: gaskell.org » ajax
Viewing all articles
Browse latest Browse all 4

Microsoft’s Ajax Support for ASP.NET MVC Fails (for now)

$
0
0

But it’s not an epic fail (for now). It’s important that my sites function without javascript or Ajax support. Ajax should be used enhance usability and is not a requirement to access my content.

I was checking out Hanselman’s Ajax example (the truly lazy can download the code here) and I was pretty bummed when I disabled javascript and saw this:

failure on the ajax front

Oops. That’s probably not what the user expected. Maybe there’s some way to get the AjaxHelper to save us but none of the 10 overloads for the ActionLink or Form methods stood out to me. Until I get around to really learning jQuery, I’ll stick with writing Ajax by hand. This allows me to request different urls based on whether or not javascript is enabled. And writing your own javascript really isn’t that hard – go grab a good book.


Viewing all articles
Browse latest Browse all 4

Trending Articles