protected override void AddParsedSubObject(object obj)
{
var objTabPanel = obj as TabPanel;
if(null != objTabPanel) {
Controls.Add(objTabPanel);
} else if(!(obj is LiteralControl)) {
throw new HttpException(string.Format(CultureInfo.CurrentCulture, "TabContainer cannot have children of type '{0}'.", obj.GetType()));
}
}