private void managerGrid_ValueChanged(object sender, EventArgs e)
{
if (sender is GridCheckBoxCellElement)
{
GridCheckBoxCellElement cell = (GridCheckBoxCellElement)sender; RadCheckBoxEditor checkbox = cell.Children[0] as RadCheckBoxEditor; <- Error
How???
3 Answers, 1 is accepted
0
Jack
Telerik team
answered on 15 Jul 2009, 02:55 PM
Hi sangki,
In our latest release, the sender of the ValueChanged event is the editor itself. So, in this case you don't need the cell element. Here is the modified code: