copy one row and paste as a new row

2 posts, 0 answers
  1. Nandita
    Nandita avatar
    7 posts
    Member since:
    Jun 2016

    Posted 22 Jul 2016 Link to this post


    I need to be able to copy one row and paste as a new row.

    When I copy one row content of a table and want to paste only text of selected row to the other row, it copied text with table row.

    So it copied as :


    <table><tr><td> Text  </td></tr></table>


    I want to paste only contents instead of entire table row.




  2. Niko
    Niko avatar
    404 posts

    Posted 27 Jul 2016 Link to this post

    Hello Nandita,

    In case you need to modify the content that is to be pasted in the editor, then you should handle the OnClientPasteHtml event. In the event handler you can strip and modify content as it suits your case.

    Hope this helps.

    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top