public override EditorPartCollection CreateEditorParts() { IWebEditable childControl = this.ChildControl as IWebEditable; if (childControl != null) { return(new EditorPartCollection(base.CreateEditorParts(), childControl.CreateEditorParts())); } return(base.CreateEditorParts()); }
public override EditorPartCollection CreateEditorParts() { IWebEditable webEditableChildControl = ChildControl as IWebEditable; if (webEditableChildControl != null) { return(new EditorPartCollection(base.CreateEditorParts(), webEditableChildControl.CreateEditorParts())); } else { return(base.CreateEditorParts()); } }