Gridview checkbox column state

2 posts, 0 answers
  1. Marco
    Marco avatar
    9 posts
    Member since:
    Oct 2018

    Posted 19 Nov 2018 Link to this post

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

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

  2. Dimitar
    Admin
    Dimitar avatar
    2892 posts

    Posted 20 Nov 2018 Link to this post

    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.
Back to Top