Edit mode is canceled on press OK even though I am setting Allow to false in AdvGridPostValidate.
What am I doing wrong?
Please note that setting Allow to false will only prevent the updating of the cell values and not the Post command itself.
How can I reenter edit mode?
I tried call Edit
from AdvGridPostValidate but it had no affect.
I need to edit the line and post a message if there is a problem. And keep the user in edit mode.
I've improved the OnPostValidate and now the TIWAdvWebGrid stays in edit mode when Allow is false.
The update will be available with the next release of the TMS IntraWeb Component Pack.
As an alternative you can set AsyncEdit to true and use the OnAsyncEditDone event that is triggered each time the focus leaves one of the editors in the row that is being edited.