Share via


CausesValidation Property

Returns true if the specified control causes server-side validation to occur on data controls on the same form. The default value is true.

public bool CausesValidation {
   get,
   set
}

Remarks

For validation to occur on a form, the form must be submitted with a control that raises validation, and must have its CausesValidation property set to true. The Command control is currently the only control that raises validation.

""""""""""""""""""""""""""""See Also

Applies to: Command Class