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

Cut,copy,paste(toolbar button) Functionality problem On IE 7 and FireFox

2 Answers 89 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tarulatta Patel
Top achievements
Rank 1
Tarulatta Patel asked on 29 Jan 2009, 01:21 AM
I am using RadEditor control, But I have a problem with Cut,copy,paste toolbar button on Editor with IE 7 & Firefox.

When I try to cut in Editor with Cut toolbar button on IE 7.0, there was a dialog coming up. I dont want that diaglog to appear. It has to be silent cut and paste.

Dialog on Firefox say : "Please use CTRL + X to Cut." 

Dialog on IE 7.0 say :   "Do you want to allow your webpage to access your clipboard".

Please give me the answer on it asap.

Thanks,

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Feb 2009, 02:54 PM
Hi Tarulatta,

To protect users' private information, unprivileged scripts cannot invoke the Cut, Copy, and Paste commands in the Mozilla rich text editor, so the corresponding buttons on the editor toolbar just notify the user to use Ctrl + X, Ctrl + C and Ctrl + V.

The IE warning message is popped up by the security mechanism of Internet Explorer 7.0. You can try to hide it by setting the StripFormattingOptions="NoneSupressCleanMessage" in the RadEditor declaration.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Tervel
Telerik team
answered on 02 Feb 2009, 03:19 PM
Hello Tarulatta,

it is possible that the provided explanation is not explicit enough, so just in case, we would like to add that the behavior you noticed under the two different browsers is expected, and is not possible to overcome. The warnings are given because browsers restrict the ability for client script to access the clipboard to avoid potential security problems.

Hence, the problem is beyond the scope of RadEditor and cannot be corrected/ worked around in DHTML/javascript.

Best regards,
Tervel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Tarulatta Patel
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Tervel
Telerik team
Share this question
or