Cant add event handler.

I created a container control and put several buttons on it.
for each button I defined an event.

I placed the container control on my webpage1. (At which point it lost is style for some reason)

I then try to add event handlers for the events I defined.
However those events do not appear in the list of events that can be added to the webpage.

Did I miss something?

Event handlers you define for a WebContainer will be available to implement on the WebContainer that was added to the WebPage, not the WebPage itself.

I guess i was trying to hard to get a model view controller paradigm…
In my case I have a class that is my model and containercontrol that is the view and the web page event handlers as the controller…

It seems un-intuitive to me that the view becomes the controller…