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

Checkbox in GridView cant be checked

2 Answers 92 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jack
Top achievements
Rank 1
Jack asked on 08 Apr 2009, 10:05 AM
Hi all,

I have 2 different forms. 1 form(Form A)  is to call another form (Form B)
Form B is initiated as a single instance.
Below is the code for Form A:
    public partial class FieldList : Form
    {
        Form CreateField = new CreateField();

        public FieldList()
        {
            InitializeComponent();
        }

        private void radButton1_Click(object sender, EventArgs e)
        {
            CreateField.ShowDialog();
        }
    }

Form B contains a radgridview with checkbox column.
When i click on any checkbox, it still looks fine. But when i close Form B, and opens up again,
the checkboxes in the checkbox column cant be clicked and sometimes when i click on 1 checkbox, another checkbox got checked instead.

Below is the Code for Form B:
public partial class CreateField : Form
    {
        public CreateField()
        {
            InitializeComponent();
            LoadData();
        }

        public void LoadData()
        {
            gvUsers.Rows.Clear();
           
            // (checkbox column, textbox column, boolean column)
            gvUsers.Rows.Add(false, "User1", false);
            gvUsers.Rows.Add(false, "User2", false);
            gvUsers.Rows.Add(false, "User3", false);
            gvUsers.Rows.Add(false, "User4", false);
            gvUsers.Rows.Add(false, "User5", false);
          

        }
    }

Has anyone occurs this error before? The form has to be single instance as it is to be used with the SPRING framework.

Thanks and Regards,
Jack

2 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 10 Apr 2009, 03:43 PM
Hello Jack,

Thank you for reporting the issue. We addressed it and the fix will be included in Q1 2009 SP1, which will be released next week. I have updated your Telerik points for bringing the issue to our attention. I hope your trial period is going fine.

Sincerely yours,
Nick
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Jack
Top achievements
Rank 1
answered on 12 Apr 2009, 06:27 AM
Thanks Nick, i will be looking forward for the next release

Cheers,
Jack
Tags
GridView
Asked by
Jack
Top achievements
Rank 1
Answers by
Nick
Telerik team
Jack
Top achievements
Rank 1
Share this question
or