Are you using the System.Windows.Forms.Panel ? What did you meant when u said Panel derived control ?
If you are using System.Windows.Forms.Panel then, this looks like a problem with the custom control and not the panel.
could you provide more info on the custom control, if possible ?