I discovered, while trying to use atlas contentpanels in my app, that the bits inside the atlas content panels are not loaded along with the normal load process. This means if you have a PageLoad event in your custom control and you try and set something