Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET LinkButton ValidationGroup Property

ASP.NET LinkButton ValidationGroup Property


LinkButton Control LinkButton control


Definition and Usage

The ValidationGroup property specifies the group of controls validated during the validation process.

This property is mostly used when a form contains multiple buttons.

Syntax

/>

 

property Description
group The group of controls to be validated.

Example

The following example validates a specific validation group:

ValidationGroup="valGroup1" ErrorMessage="Required" runat="server" />

ValidationGroup="valGroup2" runat="server" />

Demo Example »


LinkButton Control LinkButton control