Chapter 19. Unobtrusive Ajax

Ajax (often referred to as AJAX) is shorthand for Asynchronous JavaScript and XML. As we'll see, the XML part isn't as significant as it used to be, but the asynchronous part is what makes Ajax useful; it is a model for requesting data from the server in the background, without having to reload the web page. We saw a specialized example of Ajax when we looked at performing remote validation in Chapter 18, but it is a general technique that we can apply more widely.

Using MVC Unobtrusive Ajax

The MVC Framework contains support for unobtrusive Ajax. This is similar to the unobtrusive client-side validation covered in Chapter 18, in that it doesn't involve inserting extra blocks of JavaScript code at arbitrary points in ...

Get Pro ASP.NET MVC 3 Framework, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.