Easy Tutorial
❮ Razor Vb Logic Prop Webcontrol Imagebutton Validationgroup ❯

ASP.NET Button ValidationGroup Property



Definition and Usage

The ValidationGroup property specifies the group of controls to be validated when the Button control posts back to the server.

This property is typically used when there are multiple buttons in a form.

Syntax

Property Description
ValidationGroup The group of controls to be validated.

Example

Example

The following example validates a specific validation group:


❮ Razor Vb Logic Prop Webcontrol Imagebutton Validationgroup ❯