OnClientPasteHTML misfiring

4 posts, 0 answers
  1. Heath
    Heath avatar
    6 posts
    Member since:
    Feb 2015

    Posted 16 Jun 2015 Link to this post

    I've implemented StripFormattingOptions and StripFormattingOnPaste (set to AllExceptNewLines) to strip formatting and OnClientPasteHTML to display an alert to the user that the formatting is being stripped from the pasted text. This works fine in IE and Firefox, but in Chrome and Safari the OnClientPasteHTML also fires when the user hits the Enter key while in the Rad Editor.

     

    Has anybody else seen this behavior and what can I do to resolve it (other than removing the alert)?

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 18 Jun 2015 Link to this post

    Hello,

    Using this online demo (http://demos.telerik.com/aspnet-ajax/editor/examples/clientsideevents/defaultcs.aspx), I am unable to see the OnClientPasteHtml to be fired when Enter key is pressed.

    Are there any customization regarding RadEditor's functionality or specific configuration that leads to the described behavior? 

    Regards,
    Ianko
    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. Heath
    Heath avatar
    6 posts
    Member since:
    Feb 2015

    Posted 22 Jun 2015 in reply to Ianko Link to this post

    No customizations, other than having the StripFormattingOptions property set to "AllExceptNewLines". We are using an older version of the Telerik controls (version 2012.3.1016.40).
  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 23 Jun 2015 Link to this post

    Hi,

    I suggest you upgrading with the most recent version of Telerik UI for ASP.NET AJAX available and re-test the scenario.

    Regards,
    Ianko
    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
Back to Top