Feb 25, 2009, 6:42 PM
Buffer/delay after save?
I have the following at the end of an ajaxevent - what is happening is that the addrow is getting called before the grid has finished saving - is there a way to buffer the save/addrecord event, etc? So that it completes it in the order listed?
ScriptManager1.AddScript("gpComments.save();");
ScriptManager1.AddScript("var rowIndex = #{gpComments}.addRecord(); #{gpComments}.getView().focusRow(rowIndex); #{gpComments}.startEditing(rowIndex, 0);");