상속: ExtenderControlBase
예제 #1
0
        protected override void CreateChildControls()
        {
            base.CreateChildControls();

            _extender = new RatingExtender();

            //No add Extender in design mode if not add tag Extender and Properties in control
            if (!DesignMode)
            {
                Controls.Add(_extender);
            }
        }
예제 #2
0
        protected override void CreateChildControls()
        {
            base.CreateChildControls();

            _extender = new RatingExtender();

            //No add Extender in design mode if not add tag Extender and Properties in control
            if(!DesignMode) {
                Controls.Add(_extender);
            }
        }