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.
Syncfusion Feedback

Paste Text only

Thread ID:

Created:

Updated:

Platform:

Replies:

74036 May 28,2008 09:26 PM UTC Jun 3,2008 09:52 AM UTC Windows Forms 3
loading
Tags: GridControl
Qingde Shi
Asked On May 28, 2008 09:26 PM UTC

Hi

When copying data from Excel, word, and pasting to a TextBox cell in the virtual mode of GridControl, how to only paste the text data, not formats?

Many thanks.

Q


Jisha Joy [Syncfusion]
Replied On May 29, 2008 07:14 AM UTC

Hi,


To turn off style copy/paste support in a grid, turn off this flag.


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



Please let me know if this helps.

Regards,
Jisha


Qingde Shi
Replied On May 29, 2008 01:54 PM UTC

Hi Jisha,

Thanks for the response. however, it doesn't seem to make any difference.
In addition, when paste copied data from excel, one have to select all text of the cell in the GridControl, otherwise, no paste can be done. But when paste copied data from Word, Notepad, the behavior is just like in regular TextBox as expected.

Thanks,

Q



>Hi,


To turn off style copy/paste support in a grid, turn off this flag.


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



Please let me know if this helps.

Regards,
Jisha




Jisha Joy [Syncfusion]
Replied On June 3, 2008 09:52 AM UTC

Hi,

I have tested the mentioned issues in simple samples. I am afraid I was not able to see the issue. Which version of Essential Studio you are using?. Is it possible for you to upload a minimal sample that shows the issue?. So that we could sort out the cause of the issue and provide you a solution soon.

Thank you for using Syncfusion Products.

Regards,
Jisha


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

;