O'Reilly logo

ASP.NET MVC 1.0 Quickly by Maarten Balliauw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ASP.NET AJAX

The ASP.NET MVC framework provides out-of-the-box AJAX features that can be used in any new web application. An interesting feature is partial page updates, which is the process of refreshing only one <div /> element's contents instead of refreshing the whole page. In order to use these features, the view (or its master page) must include two script files, MicrosoftAjax.js and MicrosoftMvcAjax.js. These files can be included by adding the following code to the <head> section of the master page:

<script type="text/javascript" src="<%=Url.Content("~/Scripts/MicrosoftAjax.js")%>"></script>
<script type="text/javascript" src="<%=Url.Content("~/Scripts/MicrosoftMvcAjax.js")%>"></script>

After adding these two script references, a set of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required