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.

Paste Validation in GridCell

Thread ID:

Created:

Updated:

Platform:

Replies:

69453 Oct 29,2007 04:34 AM Oct 29,2007 09:30 AM Windows Forms 1
loading
Tags: GridControl
Faheem Rauf
Asked On October 29, 2007 04:34 AM

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.
Regards,
Ali

haneefm [Syncfusion]
Replied On October 29, 2007 09:30 AM

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:
http://www.syncfusion.com/support/forums/message.aspx?&MessageID=38745

Best regards,
Haneef

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.

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.

;