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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Copy Paste Functionality

Thread ID:

Created:

Updated:

Platform:

Replies:

67021 Aug 7,2007 03:51 PM UTC Aug 7,2007 05:17 PM UTC WinForms 1
loading
Tags: GridControl
Raj
Asked On August 7, 2007 03:51 PM UTC

Hi,

I have a grid with two columns the first column has cells of type combo box when i try to copy paste first column to second column (second column does not have any cells of type combobox) it also copies the underlying cell type.How can i avoid copying the underlying cell type to the clip board.

Thanks in Advance,
Raj

haneefm [Syncfusion]
Replied On August 7, 2007 05:17 PM UTC

Hi Raj,

To turn off style copy/paste support in a gridcontrol(allowing only text to be pasted ), you need to set the ClipboardFlags flag.

this.gridControl1.Model.CutPaste.ClipboardFlags &= ~GridDragDropFlags.Styles;

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.

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

;