Share via


Display Property (Common)

Sets or returns the display behavior of the error message of the validation control. The default value is dynamic.

public System.Web.UI.WebControls.ValidatorDisplay Display {
   get,
   set
}

Inheritance

The following is a list of the classes that inherit the Display property from the BaseValidator class.

CompareValidator RegularExpressionValidator
CustomValidator RequiredFieldValidator
RangeValidator  

Remarks

The Display property supports only the dynamic value.

The .NET Framework Web Forms ValidatorDisplay enumeration represents the different display behaviors of the error messages in validation controls.

See Also

Applies to: BaseValidator Class