How to create C# Dynamic Control Event Hander

  • Thread starter Thread starter Earl Teigrob
  • Start date Start date
E

Earl Teigrob

I am creating an web control within a class and instance the class within my
code behind and use its methods to dynamically generate page contents. The
problem is that I need to be able to capture the events to the web control
from within the code behind of the containing page. How do I do this?

I have created custom controls and bubbled events before. I have also
dynamically created web controls with the code behind and hard wired the
event handler to the web control... But handeling events from a web control
generated by a method of a class is a new one to me...

Thanks for the Help!!!

Earl
 
Back
Top