C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
4
Reply
What’s a bubbled event?
Suresh Kumar
8y
4k
1
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their event handlers, allowing the main DataGrid event handler to take care of its constituents.
Suresh Kumar
8y
2
Event bubbling enables events to be raised from a more convenient location in the controls hierarchy and allows event handlers to be attached to the original control as well as to the control that exposes the bubbled event.
Bharathi Raja
7y
1
Well, when you have Gridview/Datagrid control showing data. Sometimes you may have complex requirement of editing a record, while editing some columns may have choice input dropdown or radio. Based on that you may need to fill up another subgrid or another column value.Now in such scenarios, you will not directly get that index_changed event in dropdown in a gridview row.Now such events are bubbled with grid event to resolve the complexity and make coding better. On the edit item or item command event you can get the event of sub items and this is called event bubbling.
Tushar Dikshit
8y
1
Handling(tracking) child controls events (only button type child controls) through parent control in data bind controls known as event bubbling
Gajendra Jangid
7y
0
Explain what is REST and RESTFUL?
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
Message