We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Disable Ctrl+C, Ctrl+V and Ctrl+X

Is there a property I can use to disable the copy, cut and paste clipboard shortcuts? If not, how else can I do it? Thanks

1 Reply

AD Administrator Syncfusion Team June 14, 2004 09:22 PM UTC

You can turn off clipboard support when there is no active editing cell by setting: this.gridDataBoundGrid1.Model.CutPaste.ClipboardFlags = 0; When a cell is editing, the embedded cell control handles these keys, and you can handle it at that cell level. For example, this code zaps the context menu (that has these short cut keys) for the TextBox cell control. Dim c As Control = Me.grid.CellRenderers("Currency").Control c.ContextMenu = New ContextMenu

Loader.
Live Chat Icon For mobile
Up arrow icon