When a typical ASP.NET page needs to be refreshed from the server, it triggers a complete page refresh. The result is a slight delay and a flicker of the page. Wouldn't it be great if your page had to ability to submit only the section that needed to be updated, and it subsequently only needed to refresh that section? The Ajax helpers in the ASP.NET MVC framework give your web pages the ability to perform partial page updates. In this lesson I teach you how to use the Ajax helpers.
Whenever you create a new MVC project using an MVC template, the Scripts folder is automatically populated with both jQuery and Ajax scripts as shown in Figure 24B-1.
Figure 24B.1. FIGURE 24B-1
Before you can use the Ajax helpers you must include the following libraries in your page:
The Scripts folder includes two versions of each of these libraries. The debug versions should be used during development because they ...