Merrill Aldrich
Member
- Joined
- Sep 13, 2005
- Messages
- 15
- Programming Experience
- 1-3
I have what is perhaps a bone-headed question.
I am working on a small application where
- I have a dataset filled with stuff, in two tables
- I have a base form, in which there is a panel
- At runtime, the panel is filled with repeated user controls for each record of one table in the dataset
- Inside the user control there is a combo box, which is bound to a column in a table in the dataset, and is populated with valuemembers and displaymembers from another table
Standard stuff, and it all works fabuloso, BUT:
I am having some problem with events -- I would like the base form to "see" an event any time any row in the dataset is modified. Problem is, it seems that because the dataset is being modified by a user control inside the panel, the base form never sees an event generated by the changes to the dataset.
Do I have to manually "bubble" rowchanged events from the user control up to the base form? If so, how?
I am working on a small application where
- I have a dataset filled with stuff, in two tables
- I have a base form, in which there is a panel
- At runtime, the panel is filled with repeated user controls for each record of one table in the dataset
- Inside the user control there is a combo box, which is bound to a column in a table in the dataset, and is populated with valuemembers and displaymembers from another table
Standard stuff, and it all works fabuloso, BUT:
I am having some problem with events -- I would like the base form to "see" an event any time any row in the dataset is modified. Problem is, it seems that because the dataset is being modified by a user control inside the panel, the base form never sees an event generated by the changes to the dataset.
Do I have to manually "bubble" rowchanged events from the user control up to the base form? If so, how?