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::Boolean

true if the validation message contents should be replaced with the client validation error; otherwise, false.

Return to top
Show: