示例#1
0
        public override EditorPartCollection CreateEditorParts()
        {
            IWebEditable childControl = this.ChildControl as IWebEditable;

            if (childControl != null)
            {
                return(new EditorPartCollection(base.CreateEditorParts(), childControl.CreateEditorParts()));
            }
            return(base.CreateEditorParts());
        }
示例#2
0
        public override EditorPartCollection CreateEditorParts()
        {
            IWebEditable webEditableChildControl = ChildControl as IWebEditable;

            if (webEditableChildControl != null)
            {
                return(new EditorPartCollection(base.CreateEditorParts(), webEditableChildControl.CreateEditorParts()));
            }
            else
            {
                return(base.CreateEditorParts());
            }
        }