ToggleButtonEventBuilder

Methods

Toggle(System.String)

Defines the handler of the Toggle client-side event. Fires when the ToggleButton selected state is toggled.

For more information see Toggle event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Toggle event.

Click(System.String)

Defines the handler of the Click client-side event. Fires when the Button is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the Button is focused.

For more information see Click event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Click event.