Beispiel #1
0
        public override void RenderData(TableCell container, string data)
        {
            if (container == null)
            {
                throw new ArgumentNullException("container");
            }

            RadioButton opt = new RadioButton();

            opt.Enabled = false;
            container.Controls.Add(opt);
            opt.ApplyStyle(ControlStyle);

            if (!string.IsNullOrEmpty(Text))
            {
                container.Controls.Add(new LiteralControl(Text));
            }

            container.ApplyStyle(ItemStyle);
        }