I have installed "RadControls_WinForms_2009_1_414_dev" and using the RadGridView control for our development. I have created a RadGridView with three columns in the design time using the wizard (using "Open Propery Builder" link at the design time). The names of the columns are ID, FullName and IsSelected. The last IsSelected column is a check box column. I have added the following code in the form load.
DataTable dt = new DataTable();
dt.Columns.Add(
"ID");
dt.Columns.Add(
"FullName");
dt.Columns.Add(
"IsSelected");
DataRow dr = dt.NewRow();
dr[
"ID"] = "1";
dr[
"FullName"] = "Arvind";
dr[
"IsSelected"] = true;
dt.Rows.Add(dr);
dr = dt.NewRow();
dr[
"ID"] = "2";
dr[
"FullName"] = "Robin";
dr[
"IsSelected"] = true;
dt.Rows.Add(dr);
dr = dt.NewRow();
dr[
"ID"] = "3";
dr[
"FullName"] = "Kumar";
dr[
"IsSelected"] = false;
dt.Rows.Add(dr);
radGvw.DataSource = dt;
While running the application, totally 6 columns are generated. All the three columns are repeated. The columns are displaying in the order ID, FullName, IsSelected, ID, FullName, IsSelected. The IsSelected column type is textbox column in the second time.
I am new to this Telerik control. Please advice.
Regards,
Arvind Robin Kumar.