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

RadHtmlField: disable paste from Word

3 Answers 97 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Cinghios
Top achievements
Rank 1
Cinghios asked on 28 Sep 2009, 01:04 PM
Hi all,
I have some problems in disabling the paste from word option.
I am using the RadHtmlField inside my page layouts. I have seen that there is the possibility to disable it in RadEditor (through StripFormattingOnPaste property), but it doesn't work on radhtmlfield. I want to disable it also because I don't want to see anymore the AskWordCleaning popup message.
Thank you and Regards,
Cinghios

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 28 Sep 2009, 01:30 PM
Hi Cinghios,

What you need to do is set the StripFormattingOnPaste property via the ConfigFile.xml or ListCionfigFile.xml (list, wiki, blog ...), which are located in the Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.x.x.x__1f131a624888eeed/RadControls/Editor folder.

Here are some online help articles which you will find helpful.
http://www.telerik.com/help/aspnet/editor/usingtheconfigfilexml.html
http://www.telerik.com/help/aspnet/editor/radeditor-telerik.webcontrols.radeditor-stripformattingonpaste.html
http://www.telerik.com/help/aspnet/editor/cleaningwordformatting%20.html

I hope this helps.

Regards,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Cinghios
Top achievements
Rank 1
answered on 06 Oct 2009, 08:50 AM
Hi,
I have tried to insert the StripFormattingOptions property to 1, which match to the NoneSupressCleanMessage value:
http://www.telerik.com/help/aspnet/editor/radeditor-telerik.webcontrols.radeditor-stripformattingonpaste.html
Thank you very much!
Cinghios
0
Stanimir
Telerik team
answered on 06 Oct 2009, 01:21 PM
Hello Cinghios,

Could you send me your ConfigFile.xml and ListConfigFile.xml?

Thank you.


Greetings,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
WebParts for SharePoint
Asked by
Cinghios
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Cinghios
Top achievements
Rank 1
Share this question
or