causesvalidation

causesvalidationcausesvalidation

causesvalidation

1
When one of these controls has its CausesValidation property set to true, validation is performed when the control posts back to the server. 当这类控件的CausesValidation属性设置为true时,在该控件回发到服务器时执行验证。
2
To disable automatic validation, set the CausesValidation property on the Command controls to false. 若要禁用自动验证,请将Command控件上的CausesValidation属性设置为false。
3
To prevent validation from occurring when a button is clicked, set the CausesValidation property to false. 若要避免在单击按钮时进行验证,请将CausesValidation属性设置为false。
4
To disable automatic validation, set the CausesValidation property on the Command to false. 若要禁用自动验证,请将Command的CausesValidation属性设置为false。
5
To prevent page validation from occurring, set the CausesValidation property to false. 若要禁止执行页验证,需将CausesValidation属性设置为false。
6
This property has an effect only when the value of the CausesValidation property is set to true. 只有在CausesValidation属性的值设置为true时,此属性才有效果。
7
If you have a Button control that needs to disable this behavior, such as a reset button, set the CausesValidation property to false. 如果Button控件需要禁用此行为(如reset按钮),请将CausesValidation属性设置为false。