Hello,
I have a composite WebControl that I'm dynamically instantiating at
runtime using Reflection. When I create a new instance of my control I
immediately iterate through it's child control collection (it has
about 4 child controls). The problem is none of these controls are
loaded or accessible when I create the instance since, I believe, they
are created by the server at a later point in time. How could I force
my composite control to load its child controls so I can perform my
iteration?
I don't have this problem when dealing with UserControls as the
LoadControl method creates a new instance of the UserControl and loads
all of it's associated child controls in its control collection.
- Harry