What are the options can be configured in AJAX helpers?
Below are the options in AJAX helpers –
- Url – This is the request URL.
- Confirm – This is used to specify the message which is to be displayed in confirm box.
- OnBegin – Javascript method name to be given here and this will be called before the AJAX request.
- OnComplete – Javascript method name to be given here and this will be called at the end of AJAX request.
- OnSuccess - Javascript method name to be given here and this will be called when AJAX request is successful.
- OnFailure - Javascript method name to be given here and this will be called when AJAX request is failed.
- UpdateTargetId – Target element which is populated from the action returning HTML.
Comments
Post a Comment