Easy Tutorial
❮ Prop Webcontrol Textbox Columns Prop Control Standard Clientid ❯

ASP.NET ImageButton CausesValidation Property



Definition and Usage

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

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

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

Syntax


Example

The following example cancels validation when the ImageButton is clicked:


❮ Prop Webcontrol Textbox Columns Prop Control Standard Clientid ❯