I\'m trying to implement a custom panel control that would act as a naming container. So far here is so what I\'ve done.
First this is my custom control, MyPanel...
It sounds like you might benefit from a templated control design, instead of from a Panel design. Here are some resources to get started with templated controls:
The appeal of templated designs is that repeating a server control ID from one template in another is permitted.