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)

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.

This function is called if the response status is in the 200 range.

Show: