event - Event

Specifies the name of this event.

Category

basics

Syntax

event="name"

Usage

In Design mode, click All Properties and look for event under basics.

Examples

This Button control of type Cancel is activated by an onclick event.
<xp:button value="cancel" id="button2">
	<xp:eventHandler event="onclick" submit="true"
		refreshMode="complete" immediate="true" save="false">
	</xp:eventHandler>
</xp:button>