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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Export part of grid to clipboard to paste in email . .

Thread ID:

Created:

Updated:

Platform:

Replies:

34417 Sep 8,2005 08:23 PM UTC Oct 6,2005 04:58 PM UTC WinForms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 8, 2005 08:23 PM UTC

i have some users who want to take a row or column in the grid and paste it into an outlook email . . is there any built in functionality to do this. copy to the clipboard ? any other thoughts on accomplishing this task . . thks, ak

Administrator [Syncfusion]
Replied On September 8, 2005 10:40 PM UTC

You can copy text to the clipboard by selecting the cells, and pressing ctl+C (unless you have ctl+C assigned to some kind of menu hot-key). That would be the only clipboard support available out of the box that you can use to paste into an email. You could code support for taking a bitmap snapshot and placing that directly on the clipboard, but you would be writing the code to do this. You can see how to get a bitmap in this sample. \Syncfusion\Essential Studio\3.3.0.0\Windows\Grid.Windows\Samples\In Depth\PrintToFit

Administrator [Syncfusion]
Replied On October 6, 2005 03:41 PM UTC

This bitmap solution seems like a good start. I have a few other questions.... I''d like to make this bitmap only for a range chosen by the user via selection of columns/rows. How do I do this? If the user selects a range, will the column headers be included, as in your example? Can we programatically create this bitmap based on a user''s request and paste it onto an email? If so, how? thx

Administrator [Syncfusion]
Replied On October 6, 2005 04:58 PM UTC

Here is that sample tweaked so the show bitmap button displays the selected tange in the grid instead of the whole grid. It will also inculde the header row for every snapshot. http://www.syncfusion.com/Support/user/uploads/CS_567a01d4.zip

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

;