Hi,
Is there a way to add radio button to all cells of grid. Only one cell of the grid will be selected(checked) at same time. I couldn't find changing button type to radio. For normal radbutton, it is "ButtonType="ToggleButton" ToggleType="Radio".
Think that there is a gird which has 3 columns and 3 rows. First column's type is datetime. Other two columns' type is boolean and shown at cell as radio button. User will be able to select only one radio of the matrix.
Regards,
view;
cola colb
date1 O O
date2 O O
date3 O O
GridButtonColumn btnCol = new GridButtonColumn();
btnCol.DataTextField = c.ToString();
btnCol.HeaderText = dt.Columns[c].Caption;
btnCol.HeaderStyle.Font.Bold = true;
btnCol.ButtonType = GridButtonColumnType.LinkButton;
rgridDeliveryDate.MasterTableView.Columns.Add(btnCol);
Is there a way to add radio button to all cells of grid. Only one cell of the grid will be selected(checked) at same time. I couldn't find changing button type to radio. For normal radbutton, it is "ButtonType="ToggleButton" ToggleType="Radio".
Think that there is a gird which has 3 columns and 3 rows. First column's type is datetime. Other two columns' type is boolean and shown at cell as radio button. User will be able to select only one radio of the matrix.
Regards,
view;
cola colb
date1 O O
date2 O O
date3 O O
GridButtonColumn btnCol = new GridButtonColumn();
btnCol.DataTextField = c.ToString();
btnCol.HeaderText = dt.Columns[c].Caption;
btnCol.HeaderStyle.Font.Bold = true;
btnCol.ButtonType = GridButtonColumnType.LinkButton;
rgridDeliveryDate.MasterTableView.Columns.Add(btnCol);