Scott larson
Top achievements
Rank 1
Scott larson
asked on 18 Nov 2009, 04:55 PM
When I paste javascript code into the RadEditor, it removes it when I switch to another view. We've tried the various options posted in this forum. We are using the RadEditor within newly created page layouts. Assistance greatly appreciated.
5 Answers, 1 is accepted
0
Hi Scott,
You should disable the RemoveScripts filter of RadEditor, which strips the <script> tags to reduce the possibility of cross-site scripting and other script-related problems:
RadEditor1.DisableFilter(EditorFilters.RemoveScripts)
Greetings,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You should disable the RemoveScripts filter of RadEditor, which strips the <script> tags to reduce the possibility of cross-site scripting and other script-related problems:
RadEditor1.DisableFilter(EditorFilters.RemoveScripts)
Greetings,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Scott larson
Top achievements
Rank 1
answered on 18 Nov 2009, 05:35 PM
We applied the following to the top of the page layout and it still doesn't work.
<script type="text/C#">
ContentField.DisableFilter(EditorFilters.RemoveScripts);
</script>
<radE:RadHtmlField runat="server" id="ContentField" FieldName="PublishingPageContent" AllowSpecialTags="true"></radE:RadHtmlField>
0
Hello Scott,
You did not specify that you use RadEditor for SharePoint. In this case, please see this help article: Scripts in RadEditor.
All the best,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You did not specify that you use RadEditor for SharePoint. In this case, please see this help article: Scripts in RadEditor.
All the best,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Scott larson
Top achievements
Rank 1
answered on 18 Nov 2009, 06:57 PM
We are using RadEditor 5.5.0 on SharePoint. The following was previously tried without success. Does a reset need to be applied?
set (add if not present) the AllowScripts property to true in ConfigFile.xml and AllowSpecialTags in the the current page using SharePoint Designer.
0
Hello Scott,
There is a known bug with RadEditor 5.5.0 and scripts in WCM scenario. What you need to do is upgrade to the latest version of RadEditor for MOSS, which now is 5.6.0 and review the Scripts in RadEditor online help article. In order to download it you should go to the Downloads section under your account, click on the Visual Studio Extensions, DLLs, Scripts, Source Code, DNN and MOSS wrappers ... link and download the RadEditor for MOSS: (zip, 13 MB) installation. You can see the attached screenshot for more information.
You can find the upgrade instructions in the following article http://www.telerik.com/help/aspnet-ajax/upgrade_to_a_newer_version_of_radeditor_for_moss.html
Greetings,
Stanimir
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
There is a known bug with RadEditor 5.5.0 and scripts in WCM scenario. What you need to do is upgrade to the latest version of RadEditor for MOSS, which now is 5.6.0 and review the Scripts in RadEditor online help article. In order to download it you should go to the Downloads section under your account, click on the Visual Studio Extensions, DLLs, Scripts, Source Code, DNN and MOSS wrappers ... link and download the RadEditor for MOSS: (zip, 13 MB) installation. You can see the attached screenshot for more information.
You can find the upgrade instructions in the following article http://www.telerik.com/help/aspnet-ajax/upgrade_to_a_newer_version_of_radeditor_for_moss.html
Greetings,
Stanimir
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
