Cannot paste content into Rad Editor when in design mode

5 posts, 0 answers
  1. Michael Kniskern
    Michael Kniskern avatar
    14 posts
    Member since:
    Apr 2006

    Posted 09 Feb Link to this post

    I cannot paste content into the Rad Editor control when it is in design mode.  I have tried both the command defined in the ToolsFile attribute and default windows command (CTRL + V).  I am able to paste content when it is in HTML view.  Here is my code:

    <telerik:RadEditor ID="radMessageBody" runat="server" RenderMode="Lightweight" NewLineMode="Br" ToolsFile="~/xml/BasicTools.xml" ContentAreaCssFile="~/css/EditorContentArea.css" />

    <root>
        <tools name="MainToolbar" dockable="true" enabled="true">
     <tool name="FindAndReplace" /><br>    <tool separator="true"/><br>    <tool name="Undo" /><br>    <tool name="Redo" /><br>    <tool separator="true"/><br>    <tool name="Cut" /><br>    <tool name="Copy" /><br>    <tool name="Paste" shortcut="CTRL+!" /><br>  </tools><br>  <tools name="Formatting" enabled="true" dockable="true"><br>    <tool name="Bold" /><br>    <tool name="Italic" /><br>    <tool name="Underline" /><br>    <tool separator="true"/><br>    <tool name="ForeColor" /><br>    <tool name="BackColor"/><br>    <tool separator="true"/><br>    <tool name="FontName"/><br>    <tool name="RealFontSize"/><br>  </tools><br></root>

    It does not work in either Chrome and IE.

    Any ideas how to resolve this?

  2. Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 12 Feb Link to this post

    Hi Michael,

    I tested the provided configuration on my side but the Editor behaves as expected both in Chrome and IE. Can you take a look at my test and see whether I am not leaving anything out? - http://screencast.com/t/Z3Fq6SyK3Y

    Can you provide some more details on the matter?
    • Are you reproducing the problem in our online demos?
    • Which version of the controls is used in your application?
    • Are there any JavaScript errors thrown on the page when the issue occurs?

    Looking forward to your reply,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Hossein
    Hossein avatar
    6 posts
    Member since:
    Jan 2012

    Posted 15 Mar in reply to Vessy Link to this post

    We have upgraded the application we built using Telerik (to the latest version 2016.1.225.45 ) and RadEditor Paste functionality is not working as well. There was no change in environment other than upgrading telerik. I will do more investigation put feedback. 
  5. Hossein
    Hossein avatar
    6 posts
    Member since:
    Jan 2012

    Posted 15 Mar Link to this post

    After some more investigation I found out that I had ASP.NET validator in the page (I think any validator cause this  but I had custom validator). From another experience I remember that if the issue is from validator we have to put a appsettings in web.config so I added the following line in web.config (under appsettings) and the issue is resolved  

        <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />  

  6. Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 16 Mar Link to this post

    Hi Hossein,

    I am really glad you have have managed to find the cause of the problem and the Editor is working properly on your side now. Thanks a lot for sharing your solution with our community.

    Regards,
    Vessy
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017