protected override void CreateChildControls()
{
base.CreateChildControls();
// If we already have items in the ViewState, create the control
// hierarchy using the view state (and not the datasource)
if(AccordionExtender != null && ViewState[ItemCountViewStateKey] != null)
CreateControlHierarchy(false);
ClearChildViewState();
// Ensure creation of child controls
foreach(var pane in Panes) {
ControlCollection controls = pane.Controls;
}
}