Make parent control event call child control event

T

Tillman

I have a web form WForm, within that a user control UC and within that another user control UCSub. The model is similar to a form (UC)/subform (UCSub) relationship. There is a "Save" button btnSave on UC

What I want to happen is for the btnSave command to fire the procedure that saves the data in UC as well as the procedure in UCSub that saves the subform data. I've seen some solutions where a parent control handles events from a child control, but little on having a child control handle an event from a parent control

I'm relatively new to event handling so what are the basic steps that I should follow to build a solution

Many thanks for any help
Tillma
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,125
Messages
2,570,748
Members
47,302
Latest member
MitziWragg

Latest Threads

Top