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

[Solved] Pasting from Excel

1 Answer 130 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Gordon
Top achievements
Rank 1
Gordon asked on 08 Jun 2009, 09:10 AM
Pasting from excel automatically strips formatting when my formatting options are set to Telerik.Web.UI.EditorStripFormattingOptions.None

Pasting from excel to word, then to the radeditor preserves the formatting (albeit, i get a prompted to see if i want to strip formatting).

Is this normal behaviour?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Jun 2009, 07:18 AM
Hi Gordon,

RadEditor does not have access to the clipboard and it  could not modify the pasted content. It is the operating system, MS Word and the browser that manipulate and convert the XML content to HTML when it is pasted from Word and Excel.

I made a test with editable IFRAME and RadEditor in IE and I was not able to reproduce the reported problem. You can see my test in the attached video. You will see that the formatting is not stripped and the content looks identical in the editor as in the Excel file.

After that I pasted the same content in the editable IFRAME and RadEditor in Firefox and noticed that the content is stripped. This operation is not controlled by RadEditor and the editable IFRAME element but by the OS, Word and the browser and we cannot do anything to change it.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Gordon
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or