AjaxOptions Properties

 

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

NameDescription
System_CAPS_pubpropertyAllowCache

System_CAPS_pubpropertyConfirm

Gets or sets the message to display in a confirmation window before a request is submitted.

System_CAPS_pubpropertyHttpMethod

Gets or sets the HTTP request method ("Get" or "Post").

System_CAPS_pubpropertyInsertionMode

Gets or sets the mode that specifies how to insert the response into the target DOM element.

System_CAPS_pubpropertyLoadingElementDuration

Gets or sets a value, in milliseconds, that controls the duration of the animation when showing or hiding the loading element.

System_CAPS_pubpropertyLoadingElementId

Gets or sets the id attribute of an HTML element that is displayed while the Ajax function is loading.

System_CAPS_pubpropertyOnBegin

Gets or sets the name of the JavaScript function to call immediately before the page is updated.

System_CAPS_pubpropertyOnComplete

Gets or sets the JavaScript function to call when response data has been instantiated but before the page is updated.

System_CAPS_pubpropertyOnFailure

Gets or sets the JavaScript function to call if the page update fails.

System_CAPS_pubpropertyOnSuccess

Gets or sets the JavaScript function to call after the page is successfully updated.

System_CAPS_pubpropertyUpdateTargetId

Gets or sets the ID of the DOM element to update by using the response from the server.

System_CAPS_pubpropertyUrl

Gets or sets the URL to make the request to.

Return to top
Show: