This documentation is archived and is not being maintained.
FieldValidationMetadata::ReplaceValidationMessageContents Property
Gets or sets a value that indicates whether the validation message contents should be replaced with the client validation error.
Namespace:
System.Web.Mvc Assembly:
System.Web.Mvc (in System.Web.Mvc.dll)
public:
property bool ReplaceValidationMessageContents {
bool get ();
void set (bool value);
}
Property Value
Type:
System::Booleantrue if the validation message contents should be replaced with the client validation error; otherwise, false.