How to catch control event in your Web Part
Hi,
My customer recently developed a Web Part with a tree view control inside an user control and couldn't catch events generated from the treeview.
After investigating, I realize that he didn't inherit his class from the WebPart class. In this case, you will need to implement the INamingContainer interface in order to catch the treeview events.
The reason is that by implementing this interface, it will provide an ID for your child control and enable you to handle its events.