I have an Ajax grid with Add New enabled. When I click the "Add New" button it pops open the row edit template and this is fine if there are only maybe 5 records in the grid. If there are more records in the grid than 1 section of the RowsRange property then inserting of the new row via the "Add New Box" causes a postback preventing the row edit template to show.
What can I do here?
Not sure is this is the best method but I set a variable in:
function UltraWebGrid1_AfterRowInsertHandler() {
bNewRecord=false;
}
Then cancel the template close event
function UltraWebGrid1_BeforeRowTemplateCloseHandler(gridName, rowId, bSaveChanges){
if (bNewRecord==true) {
return true;
Seems to do the job... for now.