This is a migrated thread and some comments may be shown as answers.

Checkbox Column not showing Checkbox

1 Answer 130 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dev
Top achievements
Rank 1
Dev asked on 16 Dec 2010, 04:17 PM
I have a gridview with a datasource bound to a binding list of custom objects. I have added a checkbox column with the following code:

GridViewCheckBoxColumn checkBoxColumn = new GridViewCheckBoxColumn();
checkBoxColumn.DataType = typeof(int);
checkBoxColumn.UniqueName = "DiscontinuedColumn";
checkBoxColumn.FieldName = "Discontinued";
checkBoxColumn.HeaderText = "Discontinued";
conversionTypesGridView.Columns.Add(checkBoxColumn);

The column shows up in the gridview however there are no checkbox's in the column.
AutoGenerateColumns is false and AutoSizeColumns is set to AutoFill.
I am using version 2009.3.9.1203.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 21 Dec 2010, 01:15 PM
Hello Jim,

This is an old version of RadControls for WinForms and it is possible that you have faced an issue which is addressed. I tested this scenario using our last release - Q3 2010 SP1 and everything looks OK. I recommend that you try this version, which contains many new features.

We will appreciate your feedback and I am looking forward to your reply.

Regards, Jack
the Telerik team
Check out the Q1 2011 Roadmap for Telerik Controls for Windows Forms.
Tags
GridView
Asked by
Dev
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or