Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public string OnFailure { get; set; }

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.

Return to top
Show:
© 2015 Microsoft