This is a migrated thread and some comments may be shown as answers.

Additional data format for clipboard

7 Answers 157 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Uli
Top achievements
Rank 1
Uli asked on 06 Oct 2010, 10:16 AM
Hi everybody,

the clipboard functionality of the RadGridView is exactly what I need to exchange data with excel. But we also have the requirement to provide the data in additional application specific format. Is there a way to use the standard clipboard functionality for text format and combine it with own functions to provide the data in an application specific format?

Regards Uli

7 Answers, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 06 Oct 2010, 10:35 AM
Hello Uli,

 You can handle the Copied event of RadGridView and get the DataObject currently in the Clipboard. We place the data in three formats - HTML, CSV and UnicodeText. You can insert a new data format in the DataObject and put it back into the Clipboard.

All the best,
Yavor Georgiev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Uli
Top achievements
Rank 1
answered on 06 Oct 2010, 10:53 AM
Hi Yavor,

I don't see a Copied event in RadGridView. Do you mean the Copying event. That occurs before the data is copied.

The Copied event would be exactly what I need.

Regards

Uli
0
Yavor Georgiev
Telerik team
answered on 08 Oct 2010, 01:52 PM
Hi Uli,

 Could you please check again? The Copied event was introduced along with the Copying event - they were never separate, so for there to be only the Copying event is impossible. What version of RadGridView are you using?
 
All the best,
Yavor Georgiev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Uli
Top achievements
Rank 1
answered on 09 Oct 2010, 11:18 AM
Hi Yavor,

I attached a screenshot of the current online documentation of the RadGridView class members. There is no Copied event.

Regards

Uli
0
Yavor Georgiev
Telerik team
answered on 11 Oct 2010, 10:05 AM
Hi Uli,

 This is very odd, perhaps something is wrong with our documentation. I shall alert our documentation team right away. In the meantime, you can find the Copied event using the Object Browser in Visual Studio or with Intellisense.

Kind regards,
Yavor Georgiev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Uli
Top achievements
Rank 1
answered on 11 Oct 2010, 10:54 AM
Hi Yavor,

the Copied event in not visible in the Object Browser (see attached screen shot) or with .Net Reflector (see attached screen shot) and it is not accessible with Intellisense. I am quite sure, that it is just not there. At least in the version I use (2010.2.812.40).

Regards Uli
0
Accepted
Yavor Georgiev
Telerik team
answered on 11 Oct 2010, 11:50 AM
Hello Uli,

 I deeply apologize, I thought you were using version 924, because that's what it says in this thread info. The Copied event was introduced after 812. You will find it in out Q2 SP2 (version 924).

Best wishes,
Yavor Georgiev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Uli
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Uli
Top achievements
Rank 1
Share this question
or