AjaxOptions.OnSuccess Property
Gets or sets the JavaScript function to call after the page is successfully updated.
Namespace: System.Web.Mvc.Ajax
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
public string OnSuccess { get; set; }
public:
property String^ OnSuccess {
String^ get();
void set(String^ value);
}
member OnSuccess : string with get, set
Public Property OnSuccess As String
Property Value
Type: System.String
The JavaScript function to call after the page is successfully updated.
Remarks
This function is called if the response status is in the 200 range.
See Also
AjaxOptions Class
System.Web.Mvc.Ajax Namespace
Return to top