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.
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 05:00 PM Jun 21,2005 07:00 PM Windows Forms 2
loading
Tags: GridControl
Lokesh Luthra
Asked On June 21, 2005 05:00 PM

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 06:37 PM

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 07:00 PM

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.

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

;