The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
We have just upgraded from version 2.0.5.0 to 3.3.0.0. In the old version, we handled the OnRowsDeleting event in order to display an "Are you sure?" dialog. With the new version, the delete key must be used twice to activate this event. We need to be able to delete the row and display the dialog on a single delete key. How can I accomplish this?
Ken
Nevermind. A second search of the forum turned up HandleBoundCurrentCellKeyDown and the Handled property. Now working as well as before.
Ken
ADAdministrator Syncfusion Team October 11, 2005 03:33 PM UTC
In this simple sample, if I click the row header to select the row and then press delete, I immediately see the confirmation dialog using 3.3. Are you doing something different to initiate the deletion?
http://www.syncfusion.com/Support/user/uploads/GDBG_RowsDeleting_a3e04b4f.zip
Is delete a hot key for any of your menu items or toolbars? If so, this may affect how it behaves in the grid though I would think this problem would have been in 2.x as well if thi is the case.
KJKenneth JohnsonOctober 11, 2005 03:54 PM UTC
I verified that your sample works. I''ll start going through my code and try to figure out what''s going on. You know, my life would be much easier if you just provided an "OnReadUsersMind" event.
Ken