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.
I have a form with a GDBG on which I have a menu which includes items for Cut, Copy, and Paste. The paste menuitem includes the Ctrl-V shortcut. When paste is clicked the application runs a custom paste routine I have developed. Most of the time this works fine with Ctrl-V as well, since the menu''s shortcut triggers the routine. Sometimes, however, instead of the menu event firing, the grid''s built in paste function fires, bypassing my custom routine. Somehow, I need to ensure that the menu event ALWAYS get''s hit, not the grid''s default ctrl-v event. I tried setting the ClipboardFlags property to disabled, but this prevents pasting altogether, so that won''t work. Suggestions?
Jeff
ADAdministrator Syncfusion Team May 11, 2005 10:20 PM UTC
One thing you could try is to handle the gridDataBoundGrid1.Model.ClipboardPaste event. In it call your paste code, and set e.Handled = true and e.Result = true.