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

Posted by andy gaskell on Aug 4th, 2008

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.

One Response

  1. ASP.NET MVC Archived Blog Posts, Page 1 Says:

    [...] to VoteMicrosoft’s Ajax Support for ASP.NET MVC Fails (for now) (8/4/2008)Monday, August 04, 2008 from gaskell.orgBut it’s not an epic fail (for now). It’s important that [...]

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.