AjaxExtensions.BeginForm Method

Writes an opening <form> tag to the response.

  NameDescription
Public method Static member BeginForm(AjaxHelper, AjaxOptions) Writes an opening <form> tag to the response.
Public method Static member BeginForm(AjaxHelper, String, AjaxOptions) Writes an opening <form> tag to the response.
Public method Static member BeginForm(AjaxHelper, String, Object, AjaxOptions) Writes an opening <form> tag to the response.
Public method Static member BeginForm(AjaxHelper, String, String, AjaxOptions) Writes an opening <form> tag to the response.
Public method Static member BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions) Writes an opening <form> tag to the response.
Public method Static member BeginForm(AjaxHelper, String, Object, AjaxOptions, Object) Writes an opening <form> tag to the response.
Public method Static member BeginForm(AjaxHelper, String, String, Object, AjaxOptions) Writes an opening <form> tag to the response.
Public method Static member BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions) Writes an opening <form> tag to the response.
Public method Static member BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>) Writes an opening <form> tag to the response.
Public method Static member BeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object) Writes an opening <form> tag to the response.
Public method Static member BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String, Object>) Writes an opening <form> tag to the response.
Top

You can use this method in a using block. In that case, the method renders the closing </form> tag at the end of the using block. The form is submitted asynchronously by using JavaScript.

Community Additions

Show: