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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Pasting text validation

Thread ID:





1115 Sep 23,2002 05:13 PM UTC Sep 25,2002 03:00 PM UTC WinForms 1
Tags: GridControl
Teodorico Morell
Asked On September 23, 2002 05:13 PM UTC

I have the version In the fix list, the following appears: “When pasting text, the text did not get validated.” I can see the exception in output window, but when I close the form I get an unhandled exception. Where should I handle these exceptions so I can close the form without any problem? This is happening if I have some cells formatted as double and drag’n drop text from other cells. Thanks.

Administrator [Syncfusion]
Replied On September 25, 2002 03:00 PM UTC

Sorry for the delay in responding to this question. The reason PasteCellText is not being hit is likely to do with trying to drag and drop between two grids where styles dataobject are being used instead of a text dataobject. PasteCellText is only hit for text drops. In the upcoming 1.1 release, for GridDataBoundGrids, where using styles on cells does not make sense, we have changed the default settings for the DataObjectConsumerOptions to handle only Text, so in that release, PasteCellText should happen by default when you drag and drop from one grid to anaother. If you need to validate style dataobjects for GridControl, then you can use the SaveCellInfo event.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon