1 out of 3 rated this helpful - Rate this topic

AjaxOptions Members

.NET Framework 3.5

Represents option settings for running AJAX scripts in an MVC application.

The AjaxOptions type exposes the following members.

  NameDescription
Public method AjaxOptions Initializes a new instance of the AjaxOptions class.
Top
  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public property Confirm Gets or sets the message to display in a confirmation popup window before performing a request.
Public property HttpMethod Gets or sets the HTTP request method (Get or Post).
Public property InsertionMode Gets or sets the mode for inserting the response into the target DOM element.
Public property LoadingElementId Gets or sets the id attribute of an HTML element that is displayed while the AJAX function is loading.
Public property OnBegin Gets or sets the name of the JavaScript function to call immediately before the page is updated.
Public property OnComplete Gets or sets the JavaScript function to call when response data has been instantiated but before the page is updated.
Public property OnFailure Gets or sets the JavaScript function to call if the page update fails.
Public property OnSuccess Gets or sets the JavaScript function to call after the page is successfully updated.
Public property UpdateTargetId Gets or sets the id of the DOM element to update with the response from the server.
Public property Url Gets or sets the URL to make the request to.
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ