event - Event
Specifies the name of this event.
Category
basicsSyntax
event="name"
Usage
In Design mode, click All Properties and look for event under basics.Examples
This Button control of typeCancel
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>