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

How to edit HTML format while copying cells

1 Answer 15 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sergey
Top achievements
Rank 1
Sergey asked on 03 Mar 2019, 02:23 AM

Hi,

I'd like to convert text to link when I copy GridViewHyperlinkColumn cell.

 

Could you please give me advice how can I do this?

Please let me know if you need more details.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 04 Mar 2019, 09:22 AM
Hello, Sergey,         

RadGridView introduces Copying event which occurs when the grid has prepared appropriate data formats that represent the copy selection. This event is fired once for each supported format: Text, HTML, CommaSeparatedValue. You can cancel this event if the data is not allowed to be stored to Clipboard in a specific format, e.g. HTML format.

RadGridView also offers the CopyingCellClipboardContent event which is fired before each cell is copied. It allows you to easily change the copied values. Please refer to the following help article which contains an example demonstrating how you can format the value in a particular cell before it is copied: https://docs.telerik.com/devtools/winforms/controls/gridview/copy-paste-cut

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Sergey
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or