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

Formatting the text copied to clipboard to RTF Format

Thread ID:





51543 Nov 8,2006 06:08 AM UTC Nov 9,2006 12:53 PM UTC WinForms 3
Tags: GridControl
Anna Srinivasan
Asked On November 8, 2006 06:08 AM UTC

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 09:12 AM UTC

Hi Venki,

Please refer to the below forum thread for more details.

Best Regards,

Administrator [Syncfusion]
Replied On November 9, 2006 04:10 AM UTC

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 12:53 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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