.NET Framework Class Library
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)
Visual Basic (Declaration)
Public Property OnSuccess As String
Get
Set
Dim instance As AjaxOptions
Dim value As String
value = instance.OnSuccess
instance.OnSuccess = value
public string OnSuccess { get; set; }
public:
property String^ OnSuccess {
String^ get ();
void set (String^ value);
}
Property Value
Type:
System..::.StringThe JavaScript function to call after the page is successfully updated.
This function is called if the response status is in the 200 range.
Reference