Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the JavaScript function to call if the page update fails.
Namespace: System.Web.Mvc.Ajax
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Property OnFailure As String
Get
Set
public string OnFailure { get; set; }
public:
property String^ OnFailure {
String^ get ();
void set (String^ value);
}
Property Value
Type: System.String
The JavaScript function to call if the page update fails.
Remarks
This function is called if the response status is not in the 200 range.