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
'Declaration
Public Property OnSuccess As String
Get
Set
public string OnSuccess { get; set; }
public:
property String^ OnSuccess {
String^ get ();
void set (String^ value);
}
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.