protected override void InitializeDataCell (DataControlFieldCell cell, DataControlRowState rowState) { bool editable = IsEditable (rowState); CheckBox box = new CheckBox (); box.Enabled = editable; if (editable) box.ToolTip = HeaderText; box.Text = Text; cell.Controls.Add (box); }