예제 #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;
            }
        }
예제 #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;
            }
        }