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

Javascripts firing within Rad Editor

1 Answer 72 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Kerric
Top achievements
Rank 2
Kerric asked on 20 Mar 2015, 08:39 PM
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.

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 24 Mar 2015, 04:30 PM
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.

 
Tags
Editor
Asked by
Kerric
Top achievements
Rank 2
Answers by
Ianko
Telerik team
Share this question
or