Easy Tutorial
❮ Control Htmlinputradiobutton Prop Webcontrol Radiobuttonlist Repeatlayout ❯

ASP.NET ImageButton ValidationGroup Property



Definition and Usage

The OnClientClick property is used to set client-side script to run when the ImageButton control is clicked.

In addition to the predefined script, the script specified in this property will run through the ImageButton's "OnClick" event.

Syntax

Property Description
func The client-side script that runs when the ImageButton is clicked.

Example

The following example runs two scripts when the ImageButton control is clicked:


❮ Control Htmlinputradiobutton Prop Webcontrol Radiobuttonlist Repeatlayout ❯