RadHtmlField: disable paste from Word

4 posts, 0 answers
  1. Cinghios
    Cinghios avatar
    2 posts
    Member since:
    Nov 2006

    Posted 28 Sep 2009 Link to this post

    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

  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 28 Sep 2009 Link to this post

    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.

  3. Cinghios
    Cinghios avatar
    2 posts
    Member since:
    Nov 2006

    Posted 06 Oct 2009 Link to this post

    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
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 06 Oct 2009 Link to this post

    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.
Back to Top