How to edit HTML format while copying cells

2 posts, 0 answers
  1. Sergey
    Sergey avatar
    9 posts
    Member since:
    Sep 2018

    Posted 02 Mar 2019 Link to this post


    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.

  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4086 posts

    Posted 04 Mar 2019 Link to this post

    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:

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

    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.
Back to Top