Fire Event

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I have two custom controls: Parent and Child. I added Child to Parent.

How can I from Child control make a custom Parent event to fire?

Thanks,
Miguel
 
two options. have the parent expose the child's event via a property, or
catch the event and refire.

ChildEvent MyChildEvent
{
get
{
EnsureChildControls();
myChild.ChildEvent;
}
}

-- bruce (sqlwork.com)
 
Back
Top