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

copy one row and paste as a new row

1 Answer 60 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Nandita
Top achievements
Rank 1
Nandita asked on 22 Jul 2016, 09:40 AM

Hello,

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 :

<td>

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

</td>

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

 

Regards,

Nandita

1 Answer, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 27 Jul 2016, 08:09 AM

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.

Regards,
Niko
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.
Tags
Editor
Asked by
Nandita
Top achievements
Rank 1
Answers by
Niko
Telerik team
Share this question
or