Javascripts firing within Rad Editor

2 posts, 0 answers
  1. Kerric
    Kerric avatar
    2 posts
    Member since:
    Jul 2008

    Posted 20 Mar 2015 Link to this post

    we are using the latest version of Rad Editor.  we have some third party javascript widgets which we have installed within the html.  we have the scripts filter turned off. 

    the problem we are having is that when we go to edit the html the java applets are running and displaying the appropriate data. when we go to save the form, the html changes are saved but so is the applet data instead of the java script which existed prior to page loading.

    Is there a way to prevent this from occurring?  the problem is that the vendors require the javascript to be embeded within the html in the spot where the data is to be displayed..

    Thanks for your help and ideas.
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 24 Mar 2015 Link to this post

    Hi Kerric,

    The matter is relate to the built-in mechanism for XSS Attack prevention. By default, all scripts are either encoded or stripped. You can read here how to disable the filter responsible for that--http://www.telerik.com/help/aspnet-ajax/editor-preventing-cross-site-scripting.html.

    Regards,
    Ianko
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top