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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Copy Paste in the Grid Cell

Thread ID:

Created:

Updated:

Platform:

Replies:

30678 Jun 21,2005 09:00 PM UTC Jun 21,2005 11:00 PM UTC WinForms 2
loading
Tags: GridControl
Lokesh Luthra
Asked On June 21, 2005 09:00 PM UTC

Hi Can i stop the end user to paste vaule in the cell if there is some value in the clipboard. Say the user used CTRL+C to capture the value in the clipboard and then does CTRL+V in the Grid Cell . I want to restrict the user.If there is some code snippet please provide the same in the VB.NET

Administrator [Syncfusion]
Replied On June 21, 2005 10:37 PM UTC

Subscribe to the gridControl1.ClipboardCanPaste event (or gridDataBoundGrid1.Model.ClipboardCanPaste). In your handler, have the code. e.Handled = true e.Result = false

Lokesh Luthra
Replied On June 21, 2005 11:00 PM UTC

Cheers Clay :) Thanx >Hi >Can i stop the end user to paste vaule in the cell if there is some value in the clipboard. >Say the user used CTRL+C to capture the value in the clipboard and then does CTRL+V in the Grid Cell . I want to restrict the user.If there is some code snippet please provide the same in the VB.NET

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;