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.

Formatting the text copied to clipboard to RTF Format

Thread ID:





51543 Nov 8,2006 01:08 AM Nov 9,2006 07:53 AM Windows Forms 3
Tags: GridControl
Anna Srinivasan
Asked On November 8, 2006 01:08 AM

Is there a way to copy/past outside a grid(Multiple columns) where the cell formatting is retained i.e. copy from the grid to the clipboard, then paste into a Word doc so that the font and text positions are retained.

when user selects specific area and copies( ctrl+c) and then paste to any editor(word,notepad..), we need the format of the copied data to be retained. so we thought of a approach, where after the user copies the data(ctrl+c), we try to change the format of the data copied to the clipboard to RTF so that the format will be retained.

Please let me know your suggestions and the ways to do it.Expecting your reply

Administrator [Syncfusion]
Replied On November 8, 2006 04:12 AM

Hi Venki,

Please refer to the below forum thread for more details.

Best Regards,

Administrator [Syncfusion]
Replied On November 8, 2006 11:10 PM

The link talks about copying the exisiting RTF control and pasting it. But my need is to copy some portion of grid which may not contain any RTF controls and paste it to some editor which should retain the same format as it is in the grid.
so we thought of converting the copied portion to RTF format in clipboard, so that the format will be retained.

Any lights on this issue???

Expecting .....


Administrator [Syncfusion]
Replied On November 9, 2006 07:53 AM

Hi Anna,

Sorry for the inconvenience caused.

Right now, we don't have any sample regarding RTF format issue. Please refer to the below forum thread for copying the custom object in Clipboard event.


Thanks for your patience.

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.