Hi,
I have a problem that happens sometimes, and I can't find the source of the problem:
In the software I develope:
1. I open a screen for the first time2. I change a cell in a grid of type dropDownList3. I try to save with SubmitChanges()
and the change is not saved!!!
I work with LINQ.
Waiting for your advise,Thanks ahead,Yael
What triggers the save? My guess is that you are using a toolbar button or some other control that does not take focus. Since the grid never loses focus, the changes in the current cell still in edit mode are not saved to the grid.
You can usually get around this by using the grid's PerformAction method to ExitEditMode and then perhaps also call grid.UpdateData to commit the current changes before you try to save.
Before "Save", I did the following:
1. set the focus on another control.
2. myGrid.PerformAction(UltraGridAction.ExitEditMode);
3. myGrid.UpdateData();
Still my change was not saved :(