Easy Tutorial
❮ Control Tablerow Prop Webcontrol Textbox Columns ❯

ASP.NET Button CausesValidation Property



Definition and Usage

The CausesValidation property specifies whether the page is validated when the Button control is clicked.

By default, page validation is performed when the button is clicked.

This property is often used to prevent validation when a cancel or reset button is clicked.

Syntax


Example

Example

The following example does not perform validation when the button is clicked:


❮ Control Tablerow Prop Webcontrol Textbox Columns ❯