BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
$("#button2").ejButton({ click: function (args) { var gridObj = $("#FlatGrid").ejGrid("instance"); gridObj.deleteRecord("OrderID", { OrderID: 10248 }); } });
Hi Andrea,
Thanks for using Syncfusion’s product.
In your update you have reported “corresponding Action is called two times”. Could you please clarify us what you mean by “corresponding action” whether any Grid event handler? Information provided would be great helpful for us to resolve the issue.
Based on your requirement we have created the sample using the “RemoteSaveAdaptor” and we have deleted a record using grid’s “deleteRecord” method on ejButton’s “Click” event. Please refer the following code snippet.
@(Html.EJ().Button("delete").Text("Delete").ClientSideEvents(cl => { cl.Click("ButtonClick"); })) function ButtonClick(args) { var gridObj = $("#Editing").ejGrid("instance"); gridObj.deleteRecord("OrderID", { OrderID: 10271 }); } |
For your convenience we have attached the sample and the same can be downloaded from the following link.
Sample Location: http://www.syncfusion.com/downloads/support/forum/118611/EJGrid1666848757.zip
If possible please replicate the issue in the above sample and send us back with detailed information about the issue.
Please let us know if you have any queries.
Regards,
Saravanan.A
Hi Andrea,
We have considered “Controller action remove is triggered twice when deleting using deleteRecord method” as a bug and a support incident has been created under your account accordingly to track the status of these. Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents
Regards
Ragavee U S