what is event inheritance and event delegation?



what is event inheritance and event delegation?..

Answer / rathi

The event-delegation model has two advantages over the
event-inheritance model. First, it enables event handling
to be handled by objects other than the ones that generate
the events (or their containers). This allows a clean
separation between a component's design and its use. The
other advantage of the event-delegation model is that it
performs much better in applications where many events are
generated. This performance improvement is due to the fact
that the event-delegation model does not have to repeatedly
process unhandled events, as is the case of the event-
inheritance
model.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What are the challenging issues you have faced in implementation project/Maintainance project in .net Functionality? How you have overcome that issue?

0 Answers   TCS,


When displaying fonts, what is the difference between pixels, points and ems?

0 Answers  


explain the states of a window service application?

0 Answers  


State the methods used during deserialization and serialization process.

2 Answers  


What is a system lock?

2 Answers   Wipro,


What is the transport protocol you use to call a seb service soap?

0 Answers  


What is multiThreading in .NET?

0 Answers  


How to store and retrieve images in SQL server database through VB.NET?

1 Answers  


What is IIS and how we deploy website on IIS.

2 Answers   NetLink,


If we want to write a Windows service that cannot be paused, only started and stopped. How to accomplish that?

1 Answers  


If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.

0 Answers  


Can u explain me What is encapsulation?

7 Answers   Deloitte, GK companies,


Categories