How to create C# Dynamic Control Event Hander

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top