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.

Pasting text validation

Thread ID:

Created:

Updated:

Platform:

Replies:

1115 Sep 23,2002 01:13 PM Sep 25,2002 11:00 AM Windows Forms 1
loading
Tags: GridControl
Teodorico Morell
Asked On September 23, 2002 01:13 PM

I have the version 1.0.2.4 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 11:00 AM

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.

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.

;