Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
What is the best event to track when a checkbox is clicked
posted

Alrighty, I am having a tough time narrowing this down. I have a simple grid...2 columns...1 with a checkbox, the other is a readonly string.

 My goal is to update the UI whenever the checkbox is checked or unchecked, but it isn't working the way I expect.

If I use the AfterCellUpdate event, then nothing gets fired till the user clicks off of the row. That is too confusing.

If I use the CellChange event, then I can't seem to reliably find out whether the user just checked or unchecked the item.

If I  use the MouseClick event then all sorts of screwy stuff starts happening.

What event is closest to the standard CheckChanged event on a normal checkbox? I wouldn't think this would be all that tricky...

 David

Parents Reply Children