FormContext.ReplaceValidationSummary Property


Determines whether client validation errors should be dynamically added to the validation summary.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Public Property ReplaceValidationSummary As Boolean

Property Value

Type: System.Boolean

true if client validation errors should be added to the validation summary; otherwise, false.

If this property is set to false, client validation will not add errors to the summary. However, the errors will be shown next to the input fields.

Return to top