Ejemplo n.º 1
0
        protected override void CreateChildControls()
        {
            gv = new RsGridView();
            Controls.Add(gv);
            gv.ID = "gv";

            switch (this.ListStyle)
            {
            case ListStyleE.CheckBoxList:
                gv.ShowCheckBox = true;
                break;

            case ListStyleE.RadioList:
                gv.ShowRadioButton = true;
                break;

            case ListStyleE.List:
                break;

            default:
                break;
            }
        }
Ejemplo n.º 2
0
        protected override void CreateChildControls()
        {
            gv = new RsGridView();
            Controls.Add(gv);
            gv.ID = "gv";

            switch (this.ListStyle)
            {
                case ListStyleE.CheckBoxList:
                    gv.ShowCheckBox = true;
                    break;
                case ListStyleE.RadioList:
                    gv.ShowRadioButton = true;
                    break;
                case ListStyleE.List:
                    break;
                default:
                    break;
            }
        }