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

RichTextBox cut and paste and IE 9

4 Answers 130 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
David Brenchley
Top achievements
Rank 1
David Brenchley asked on 26 Apr 2011, 05:57 PM
Cut and paste from IE 9 doesn't appear to work to a richtextbox bound with the HtmlDataProvider.  I can cut & paste from the same web page using Firefox and it works fine.
2011.1.419.40

4 Answers, 1 is accepted

Sort by
0
Accepted
Iva Toteva
Telerik team
answered on 28 Apr 2011, 08:04 AM
Hi David Brenchley,

Different browsers put different content in the Clipboard, so it is possible that the behavior differs. However, we were not able to reproduce the issue you are describing.
Data binding could not be a factor here, as it only exports the document when you make changes to it and updates the property you have bound it to and vice versa - when the property changes, it updates the document. Are you using the data providers as-is, or have you created some other logic for binding the content of the document?
Any further details of the problem would be greatly appreciated.

Greetings,
Iva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
David Brenchley
Top achievements
Rank 1
answered on 28 Apr 2011, 03:57 PM
I wouldn't doubt that it is an issue with the way corporate sets up our computers and this could entirely be a problem with my company.  There are a number of other issues we have using Internet Explorer.
0
Santosh kumar
Top achievements
Rank 1
answered on 30 Sep 2011, 10:05 PM
i am unable to copy anything from IE 8 to RichTextBox. Is this known issue?
0
Iva Toteva
Telerik team
answered on 04 Oct 2011, 10:31 AM
Hello Santosh Kumar,

The problem is that the HTML that Internet Explorer puts in the clipboard is mostly script, which cannot be used to create a RadDocument. You can try adding a reference to Telerik.Windows.Documents.FormatProviders.Rtf. In this way, the content of the clipboard which is in RTF format will be used when pasting. The only limitation we are aware of is that the images would not be pasted, as they are added in the RTF as IncludePicture field, which is not supported.
 We will adjust the pasting for the next official release, so that if the HTML and RTF that are in the clipboard create an empty document, the paste will fallback to plain text.

Best wishes,
Iva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
David Brenchley
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
David Brenchley
Top achievements
Rank 1
Santosh kumar
Top achievements
Rank 1
Share this question
or