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

Paste Validation in GridCell

Thread ID:





69453 Oct 29,2007 08:34 AM UTC Oct 29,2007 01:30 PM UTC Windows Forms 1
Tags: GridControl
Faheem Rauf
Asked On October 29, 2007 08:34 AM UTC

Hi, How can I apply string validation on a particular cell of the GridControl. In a Gridcontrol there is a text filed for input plz guide me how I can apply string validation on that particular cell when I copy some text from somewhere else and paste it. I have tried ClipboardCanPaste event but could not get the desired result.

haneefm [Syncfusion]
Replied On October 29, 2007 01:30 PM UTC

Hi Ali,

One way to handle this is to subscribe to the grid.Model.PasteCellText event and validate the value to be pasted there, and if it is invalid, set e.Cancel = true.

Please refer the below forum thread for more details:

Best regards,


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