Hello,
i worked on radgrid with batch edit commands : Add, Save and Cancel.
It works fine with inherited buttons, but when i try to have CommandItemTemplate buttons, it doesn't work for the add button.
When i click on the add button, i t's calling this function :
grid.get_batchEditingManager().addNewRecord(grid.get_masterTableView());
An added line, empty, is shown in radgrid, it's ok.
But then, i click on the save button, to save the data added, and it's calling this function :
grid.get_batchEditingManager().saveChanges(grid.get_masterTableView());
The problem is that in my server code, in BatchEditCommand(sender As Object, e As Telerik.Web.UI.GridBatchEditingEventArgs), command.NewValues is null and also command.type is UPDATE and not INSERT.
In spy mode, i saw the data i want to add in command.Arguments, but i cannot access them.
What am i doing wrong ?
Thanks in advance.
Freddy (from France)