Share via


AjaxExtensions.ActionLink Method

Include Protected Members
Include Inherited Members

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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member ActionLink(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 member ActionLink(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 member ActionLink(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 member ActionLink(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 member ActionLink(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 member ActionLink(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 member ActionLink(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 member ActionLink(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 member ActionLink(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 member ActionLink(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 member ActionLink(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 member ActionLink(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.

Top

Remarks

This method renders an anchor element. When the user clicks the link, MVC asynchronously invokes the specified action method via an HTTP POST request. The response of that action method can be used to update a specified DOM element, depending on which AjaxOptions are specified.

See Also

Reference

AjaxExtensions Class

System.Web.Mvc.Ajax Namespace