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

Gridview checkbox column state

1 Answer 174 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 19 Nov 2018, 03:26 PM

Once I change the checkbox column state, in which event I’ll be able to get the changed state in ?

Note: We tried to check it in the cell click event but we are unable to get the changed state.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 20 Nov 2018, 08:42 AM
Hello Marco,

You can use the ValueChanged event. For example:
private void RadGridView1_ValueChanged(object sender, EventArgs e)
{
    if (radGridView1.CurrentColumn.Name == "bool")
    {
        var value = radGridView1.ActiveEditor.Value;
    }
}

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Marco
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or