What’s a bubbled event?
Event Bubbling is nothing but events
raised by child controls is handled by the parent control. Example:
Suppose consider datagrid as parent control in which there are several
child controls. There can be a column of link buttons right. Each link
button has click event. Instead of writing event routine for each link
button write one routine for parent which will handle the click events
of the child link button events. Parent can know which child actually
triggered the event.
No comments:
Post a Comment