CompareAttribute.FormatErrorMessage Method (String)
Applies formatting to an error message based on the data field where the compare error occurred.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- name
-
Type:
System.String
The name of the field that caused the validation failure.
Show: