I have a grid which is loaded when a user clicks a button. The user click a button and it loads the grid. They make a change but don't commit that change. Instead they click the button again, We get an error, missing record exception. I decided to commit the grid:
var
editBehavior = grid.get_behaviors().get_editingCore();
editBehavior.commit();
When the button is clicked, i have a timing issue. The grid is commit back but the click event also does a post. I try to check to see if an update is occurring:
grid.get_behaviors().get_editingCore().get_isUpdating()
but this returns false...
Do you have any ideas about solving this problem.
Hi mdelgado,
Probably you are getting this error because the grid expects to have a datasource after reloading or if any of the rows no longer exist. Can you post the code of your aspx page and cs.
Thanks