Export (0) Print
Expand All

AjaxHelper Class

Represents support for rendering HTML in AJAX scenarios within a view.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public class AjaxHelper

The AjaxHelper class provides a set of helper methods whose purpose is to help you use ASP.NET AJAX in MVC applications to provide client-side functionality. The AjaxHelper class supports asynchronous partial-page updates without requiring a server-side update panel.

Extensions to the AjaxHelper class are located in the System.Web.Mvc.Ajax namespace. These extensions add helper methods for creating asynchronous forms and rendering links.

All helper methods and extensions are called using the Ajax property of the view, which is an instance of the AjaxHelper class. For example, to generate a link to a controller action method, you would call the Ajax.ActionLink method.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show:
© 2014 Microsoft