Compartir a través de


Sys.UI.Control raiseBubbleEvent Method

Calls the onBubbleEvent method of the parent control.

MyControl.raiseBubbleEvent(source, args);

Parameters

Term

Definition

source

The object that triggered the event.

args

The event arguments.

Remarks

When the raiseBubbleEvent method is called, the source object and args values are sent to the onBubbleEvent handler of the current control. If onBubbleEvent returns false, they are sent to the onBubbleEvent handler of the parent control. This process continues until an onBubbleEvent event handler returns true, which indicates that the event has been handled. Any event that bubbles to the Sys.Application instance without being handled is ignored.

See Also

Tasks

Creating Custom AJAX Client Controls

Reference

Sys.UI.Control Class

Other Resources

Language Reference