What is a bubbled event?
Answers were Sorted based on User's Feedback
Answer / payal
in case of some server controlls like
datagrid,repeter,datalist in that we can add another
another also like suppose in datagrid we can add check box
and in that the check event is not raised by itself or
check box.
check box is in datagrid so that datagrid is parent and
checkbox is child so that check box send check event to
parent that is datagrid .
this pass event from child to parent is called event
bubbled.then parent pass it to page using itemtemplate
<itemtemplate>
<asp:checkbox id=chk1;oncheck="chked">
</itemtemplate>
in that chked is subroutine and oncheck is event so that
chked is always public or protected
public sub chked(by val e as event,by val---)
//code
end sub
event bubbling
pass event-from-child-to-parent
Is This Answer Correct ? | 12 Yes | 1 No |
When you have a complex control, likeDataGrid, writing an
event processing routine for each object (cell, button,row,
etc.) is quite tediousdifficult.
The controls can bubble up their eventhandlers, allowing
the main DataGrid event handler to take care of its
constituents.
Suppose you want a certain ASP.NET function executed on
MouseOver over a certain button.
Is This Answer Correct ? | 9 Yes | 2 No |
Explain managed code an un-managed code.
What is the difference between Proxy and Contract?
What are tuples?
can u debug application programatically? if yes how?
Will session work if cookies is disabled?
What is the difference between Webservice and WCF
Explain in what order a destructors is called.
In ViewState How much lifespan items stored?
What is asp.net and ado net?
Can we handle the error and redirect to some pages using web.config?
How to remove cache object in asp.net?
A brief difference between Session and Cookies in asp.net