Inheritance: ExtenderControlBase
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }