I'm trying to catch the new value inserted in a cell before it gets pushed in the databounditem.
...
}
With the ValueChanging event everything seems to work fine when user naviguate by pressing the tab key. I can get the column unique name and my underlying DataBoundItem so i can do checkup and blabla...
The problem arise when the user click in a cell instead of pressing tab. I then get the value entered in the last cell and the column of the clicked cell ??
Is this a normal behavior? And if so what event can i catch to get this right?
Thanks
void grdSearchResults_ValueChanging(object sender, ValueChangingEventArgs e)
{
GridCellBoundColumnElement cell = sender as GridCellBoundColumnElement;
MyObj obj = cell.RowInfo.DataBoundItem as MyObj;
...
}
With the ValueChanging event everything seems to work fine when user naviguate by pressing the tab key. I can get the column unique name and my underlying DataBoundItem so i can do checkup and blabla...
The problem arise when the user click in a cell instead of pressing tab. I then get the value entered in the last cell and the column of the clicked cell ??
Is this a normal behavior? And if so what event can i catch to get this right?
Thanks