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.
Hello,
With the simple code below, I receive the ClipboardCopy event (On Ctrl-V), but not the ClipboardCut (On Ctrl-X).
Using 3.0.1.1 (not able to upgrade to 3.2 right now)
Is this something that has been adressed before?
grid.Model.ClipboardCut += new GridCutPasteEventHandler(Model_ClipboardCut);
grid.Model.ClipboardCopy += new GridCutPasteEventHandler(Model_ClipboardCopy);
ADAdministrator Syncfusion Team May 14, 2005 01:49 AM UTC
Do you have some kind of menu hotkey or toolbar short cut that might be trapping the ctl+X before it gets to the grid?
ADAdministrator Syncfusion Team May 16, 2005 10:07 PM UTC
Doesn''t seem like it.
No menu.
There''s XPTaskBar panel with few items, but none of them have shortcuts specified.
Focus it on the grid anyway, so it should catch the key combination first, right?
ADAdministrator Syncfusion Team May 16, 2005 10:32 PM UTC
>>Focus it on the grid anyway, so it should catch the key combination first, right?
No. The form''s menu hotkeys and accelerators have precedence. You can see this by dropping a TextBox on a form and adding a mainMenu with a menuitem with a ctl+C hotkey. Even if the TextBox has focus, pressing ctl+C triggers the menu item and not the standard copy command of the TextCopy standard ctl+C.
Can you upload a sample project showing the problem, or can you see it in one of our samples?