ASP.NET ImageButton ValidationGroup Property
ImageButton control
Definition and Usage
The ValidationGroup property specifies the group of controls to be validated during validation.
This property is mostly used when a form contains multiple buttons.
Syntax
/> The following example validates a specific validation group: validationgroup="valGroup1" errormessage="Required" runat=Server /> validationgroup="valGroup2" ImageUrl="img.gif" runat=Server /> Demo Example »
property
Description
group
The validation group to be validated.
Example
ImageButton control