Make parent control event call child control event

Discussion in 'ASP .Net Web Controls' started by Tillman, May 21, 2004.

  1. Tillman

    Tillman Guest

    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
     
    Tillman, May 21, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. davout
    Replies:
    0
    Views:
    574
    davout
    Apr 18, 2004
  2. Jeff Rodriguez
    Replies:
    23
    Views:
    1,210
    David Schwartz
    Dec 9, 2003
  3. Replies:
    0
    Views:
    227
  4. Noel Dolan
    Replies:
    0
    Views:
    276
    Noel Dolan
    Jul 18, 2004
  5. Bitswapper
    Replies:
    5
    Views:
    184
    Prasad, Ramit
    Aug 27, 2013
Loading...

Share This Page