What is event bubbling and when to use this?

Posted by Allemahesh under ASP.NET on 7/11/2013 | Points: 10 | Views : 1015 | Status : [Member] [MVP] | Replies : 1
Can any one tell What is event bubbling? How and where to use to event bubbling?




Responses

Posted by: Satyapriyanayak on: 7/11/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
Server controls like Datagrid , DataList , Repeater can have other child controls inside
them.Example DataGrid can have combo box inside datagrid.These child control do not
raise there events by themselves , rather they pass the event to the container parent
(which can be a datagrid , datalist , repeater) , which passed to the page as “ItemCommand”
event.As the child control send there events to parent this is termed as event bubbling.

http://msdn.microsoft.com/en-us/library/aa719644%28v=vs.71%29.aspx
http://odetocode.com/articles/94.aspx


If this post helps you mark it as answer
Thanks

Allemahesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response