What is a bubbled event?

Answers were Sorted based on User's Feedback



What is a bubbled event? ..

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

What is a bubbled event? ..

Answer / swapna

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

Post New Answer

More ASP.NET Interview Questions

Explain managed code an un-managed code.

0 Answers  


What is the difference between Proxy and Contract?

1 Answers  


What are tuples?

0 Answers  


can u debug application programatically? if yes how?

0 Answers   FactorH,


Will session work if cookies is disabled?

0 Answers  






What is the difference between Webservice and WCF

9 Answers   IBM, ITC Infotech,


Explain in what order a destructors is called.

0 Answers  


In ViewState How much lifespan items stored?

0 Answers   Siebel,


What is asp.net and ado net?

0 Answers  


Can we handle the error and redirect to some pages using web.config?

1 Answers   BirlaSoft,


How to remove cache object in asp.net?

2 Answers   TVS,


A brief difference between Session and Cookies in asp.net

5 Answers   HCL, HCL Comnet,


Categories