0
Answer

Handle window control event in web form?

franny

franny

20y
1.9k
1
I have a simple windows usercontrol that I have built using c#. This control has one event. When I embed this control in a windows form there is no problem with the containing form(windows form) "seeing" the event and handling the event. However, when I embed this control in a web form using the tag , the web form does not handle the event. Can someone explain to me what I need to do to expose the event in the windows control so that the web form and wait for it? Also, can someone explain why the event is visible by default in the windows form but not visible by default in the web form? Thanks in advance.