Hi. I'm using a GridViewCheckBoxColumn, and I would like to have an event fire when the user changes the state of the checkbox by checking it, either by mouse or keyboard. Right now I've found that I can hook a variety of events that only fire after the cell's value is changed and the cell loses focus. But I need an event that actually happens as soon as the checkbox is changed. I'm running version 2012.1.321.20.
The only thing I've found that works is reaching into the virtualized cell, getting the RadCheckBoxEditorElement, and then hooking the PropertyChanged event on it. This is pretty ugly and cumbersome. It also presents a serious issue in that I don't know how to hook this event just once, since if I hook this event in the CellFormatting handler, I will end up hooking the event many, many times.
Is there a straightforward way to accomplish what I want?
Thanks.
The only thing I've found that works is reaching into the virtualized cell, getting the RadCheckBoxEditorElement, and then hooking the PropertyChanged event on it. This is pretty ugly and cumbersome. It also presents a serious issue in that I don't know how to hook this event just once, since if I hook this event in the CellFormatting handler, I will end up hooking the event many, many times.
Is there a straightforward way to accomplish what I want?
Thanks.