http://www.codeguru.com/csharp/.net/working-with-ajax-helper-in-asp.net-mvc.htm
http://chsakell.com/2013/05/10/ajax-and-jquery-in-asp-net-mvc/
http://chsakell.com/2013/05/10/ajax-and-jquery-in-asp-net-mvc/
http://www.c-sharpcorner.com/uploadfile/3d39b4/working-with-html-beginform-and-ajax-beginform-in-mvc-3/
http://www.codeguru.com/csharp/.net/working-with-ajax-helper-in-asp.net-mvc.htm
http://www.codeguru.com/csharp/.net/working-with-ajax-helper-in-asp.net-mvc.htm
Property | Description |
Url | The Url property indicates a URL to which the form is to be submitted. You can also specify a controller and action method in the BeginForm() method instead of setting the URL property. |
HttpMethod | The HttpMethod property indicates the HTTP method (GET or POST) to be used while making an Ajax request. |
Confirm | The Confirm property is used to specify a message that will be displayed in a confirm dialog to the end user. If user clicks OK on the confirmation dialog the Ajax call is made. |
OnBegin | The OnBegin property specifies a name of JavaScript function that is called at the beginning of the Ajax request. |
OnComplete | The OnComplete property specifies a name of JavaScript function that is called at the end of the Ajax request. |
OnSuccess | The OnSuccess property specifies a name of JavaScript function that is called when the Ajax request is successful. |
OnFailure | The OnFailure property specifies a name of JavaScript function that is called if the Ajax request fails. |
LoadingElementId | While an Ajax request is being made you can display a progress message or animation to the end user. The LoadingElementId indicates an ID of a DOM element that is serving this purpose. Note that the Ajax helper will simply display and hide this element. Displaying some progress message of animation inside this element is your responsibility. |
LoadingElementDuration | The LoadingElementDuration property specifies a time duration in milliseconds that controls the duration of the progress message or animation. |
UpdateTargetId | The UpdateTargetId property specifies an ID of a DOM element that will be populated with the HTML returned by the action method. |
InsertionMode | The InsertionMode property governs how the HTML replacement should occur in a DOM element as specified by UpdateTargetId property. The possible values are InsertAfter, InsertBefore and Replace. |
No comments:
Post a Comment