How do you respond to an event of a container that was run-time generated?

Doing this in a web app.
Creating an instance using embedwithin of a previously defined webcontainer “boxcontainer”.

webcontainer has an event - “action”.

Since I don’t have boxcontainer in the design-time window, I can not access its event list.

I believe there is a way to define how to respond to boxcontainer.action - isn’t there?

Use AddHandler to direct the event to another method. Just remember that you need to use RemoveHandler if you later Close the container to remove it.

Thanks - I forgot what the process was called.