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

[Solved] RadEditor javascript error in IE - Permission denied

2 Answers 189 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tiju
Top achievements
Rank 1
Tiju asked on 29 Apr 2009, 11:49 AM
Hello Telerik,

 

    In Rad Editor html view, when we paste an html content in IE,
<div>

<script language="javascript" type="text/javascript" src="http://www.rsscontenttool.com/feed.js?source=0&amp;url=http://www.npr.org/rss/rss.php?id=1066&amp;width=300&amp;text_alignment=Left&amp;font=-1&amp;text_size=undefined&amp;frame_enabled=false&amp;frame_color=AFAACA&amp;link_color=AFAACA&amp;link_background_color=ffffff&amp;link_spacing=1&amp;max_items=5&amp;new_window=true&amp;show_xml_button=false"></script>

</div>
then click Design->HTML->Design view, a javascript error occurred. ie, Permission denied

 

But its work's fine in firefox.

<telerik:RadEditor ID="RadEdit" Skin="Web20" runat="server" EnableViewState="false" ContentFilters="None"></telerik:RadEditor>

Thanks,
Tiju

 

 

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 04 May 2009, 10:48 AM
Hi Tiju,

You have disabled the RadEditor's content filters and the script inserted in the editor is executed which is causing the observed error. To fix the problem you should enable the encodescripts filter of RadEditor, e.g.

<telerik:RadEditor ID="RadEdit" Skin="Web20" runat="server" EnableViewState="false" ContentFilters="encodescripts">
</telerik:RadEditor>
                                  
Sincerely,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Tiju
Top achievements
Rank 1
answered on 14 May 2009, 04:19 AM
Hi Telerik team,

It worked. Thank you for your immediate response to the thread.

Thanks & Regards
Tiju Joseph
Tags
Editor
Asked by
Tiju
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Tiju
Top achievements
Rank 1
Share this question
or