Export (0) Print
Expand All

AjaxExtensions Class

Represents support for ASP.NET AJAX within an ASP.NET MVC application.

System.Object
  System.Web.Mvc.Ajax.AjaxExtensions

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

public static class AjaxExtensions

  NameDescription
Public methodStatic memberActionLink(AjaxHelper, String, String, AjaxOptions)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, Object, AjaxOptions)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, String, AjaxOptions)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, Object, AjaxOptions, Object)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, String, Object, AjaxOptions)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, String, RouteValueDictionary, AjaxOptions)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, String, Object, AjaxOptions, Object)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, String, String, String, String, Object, AjaxOptions, Object)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberActionLink(AjaxHelper, String, String, String, String, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>)Returns an anchor element that contains the URL to the specified action method; when the action link is clicked, the action method is invoked asynchronously by using JavaScript.
Public methodStatic memberBeginForm(AjaxHelper, AjaxOptions)Writes an opening <form> tag to the response.
Public methodStatic memberBeginForm(AjaxHelper, String, AjaxOptions)Writes an opening <form> tag to the response.
Public methodStatic memberBeginForm(AjaxHelper, String, Object, AjaxOptions)Writes an opening <form> tag to the response.
Public methodStatic memberBeginForm(AjaxHelper, String, String, AjaxOptions)Writes an opening <form> tag to the response.
Public methodStatic memberBeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)Writes an opening <form> tag to the response.
Public methodStatic memberBeginForm(AjaxHelper, String, Object, AjaxOptions, Object)Writes an opening <form> tag to the response.
Public methodStatic memberBeginForm(AjaxHelper, String, String, Object, AjaxOptions)Writes an opening <form> tag to the response.
Public methodStatic memberBeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions)Writes an opening <form> tag to the response.
Public methodStatic memberBeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>)Writes an opening <form> tag to the response.
Public methodStatic memberBeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object)Writes an opening <form> tag to the response.
Public methodStatic memberBeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>)Writes an opening <form> tag to the response.
Public methodStatic memberBeginRouteForm(AjaxHelper, String, AjaxOptions)Writes an opening <form> tag to the response using the specified routing information.
Public methodStatic memberBeginRouteForm(AjaxHelper, String, Object, AjaxOptions)Writes an opening <form> tag to the response using the specified routing information.
Public methodStatic memberBeginRouteForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)Writes an opening <form> tag to the response using the specified routing information.
Public methodStatic memberBeginRouteForm(AjaxHelper, String, Object, AjaxOptions, Object)Writes an opening <form> tag to the response using the specified routing information.
Public methodStatic memberBeginRouteForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>)Writes an opening <form> tag to the response using the specified routing information.
Public methodStatic memberGlobalizationScript(AjaxHelper)Returns an HTML script element that contains a reference to a globalization script that defines the culture information.
Public methodStatic memberGlobalizationScript(AjaxHelper, CultureInfo)Returns an HTML script element that contains a reference to a globalization script that defines the specified culture information.
Public methodStatic memberRouteLink(AjaxHelper, String, Object, AjaxOptions)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, String, AjaxOptions)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, RouteValueDictionary, AjaxOptions)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, Object, AjaxOptions, Object)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, String, Object, AjaxOptions)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, String, AjaxOptions, IDictionary<String, Object>)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, String, AjaxOptions, Object)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, String, Object, AjaxOptions, Object)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Public methodStatic memberRouteLink(AjaxHelper, String, String, String, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>)Returns an anchor element that contains the virtual path for the specified route values; when the link is clicked, a request is made to the virtual path asynchronously by using JavaScript.
Top

The AjaxExtensions class contains methods that extend the AjaxHelper class. Each extension method renders an HTML element. The ActionLink method renders an anchor (a) element that links to an action method. The RouteLink method renders an anchor (a) element that links to a URL, which can resolve to an action method, a file, a folder, or some other resource. This class also contains BeginForm and BeginRouteForm methods that help you create HTML forms that are supported by AJAX functions.

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