AjaxOptions.OnFailure Property

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)

'Declaration
Public Property OnFailure As String 
	Get 
	Set
'Usage
Dim instance As AjaxOptions 
Dim value As String 

value = instance.OnFailure

instance.OnFailure = value

Property Value

Type: System.String
The JavaScript function to call if the page update fails.

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

Show: