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)

Syntax

public bool ReplaceValidationSummary { get; set; }
public:
property bool ReplaceValidationSummary {
    bool get();
    void set(bool value);
}
member ReplaceValidationSummary : bool with get, set
Public Property ReplaceValidationSummary As Boolean

Property Value

Type: System.Boolean

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

Remarks

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.

See Also

FormContext Class
System.Web.Mvc Namespace

Return to top