What is Event Bubbling?


Server controls like Data Grid, Data List and Repeater can have other child controls inside them. These child control do not raise their events by themselves, rather they pass the event to the parent container, which is then passed on to the page as “ItemCommand” event of the parent container. As the child control send events to parent it is termed as event bubbling.

Code for the front end


Code to be used in the back end


Comments

Popular posts from this blog

jQuery Basics

What is the difference between a Page Layout and Master Page in SharePoint?

Accessing data from SharePoint 2010 to an ASP.NET application