I have a radgrid that is entirely created programatically and I'm trying to add a GridCheckBoxColumn. I want the checkboxes to be editable upon load but they are stuck in read only mode. I can't figure out how to make them checkable.
ASPX:
C#:
The checkbox column shows up fine but it's greyed out and cannot be checked. Is there an easy way to push this into an editable mode on load?
ASPX:
<asp:PlaceHolder ID=
"phRadGrids"
runat=
"server"
/>
C#:
RadGrid newGrid =
new
RadGrid();
newGrid.ID =
"grdTesting"
;
newGrid.MasterTableView.AutoGenerateColumns =
false
;
GridCheckBoxColumn col_Assign =
new
GridCheckBoxColumn();
col_Assign.HeaderText =
"Assign"
;
col_Assign.UniqueName =
"Assign"
;
newGrid.MasterTableView.Columns.Add(col_Assign);
phRadGrids.Controls.Add(newGrid);
The checkbox column shows up fine but it's greyed out and cannot be checked. Is there an easy way to push this into an editable mode on load?