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.

Copy Paste Functionality

Thread ID:





67021 Aug 7,2007 11:51 AM Aug 7,2007 01:17 PM Windows Forms 1
Tags: GridControl
Asked On August 7, 2007 11:51 AM


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,

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

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,


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.