Hi Salimkhan,
Greetings from Syncfusion support.
Query: “ I am trying to delete data using Column Command. I want to call the actual delete method if and only if the Ok button is pressed.”
From your query we suspect that you are facing issue while deleting a record with Command column and DeleteConfirmation dialog of Grid. To validate the reported issue we have prepared a sample using Command column and ShowDeleteConfirmation Dialog. We are not able to reproduce the reported issue at our end. Delete operation is carried out once we confirm the action by clicking on the OK button of the DeleteConfirmDialog.
Refer our UG documentation for your reference
If you are still facing the issue kindly get back to us with following details.
- Share the Grid rendering code example.
- If you have handled the CRUD action in Grid events, share the detail about the events also.
- Are you using built in command button and delete confirm dialog?
- Share the Syncfusion Nuget package version along with reference in _Host.Cshtml file.
Requested details will be helpful for us to validate the reported issue at our end and provide solution as soon as possible.
Regards,
Vignesh Natarajan.