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

RadEditor give an error when set the content

3 Answers 53 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 16 Jan 2013, 01:10 AM
Hi, i have a radeditor on my page, when i set the content it gives me the follow error, anyone nows what is firing this error? Unsafe JavaScript attempt to access frame with URL chrome-extension://dknkjnkhedbanphkkpbpcgoblmkbfhlf/Js/items/container/container.html#tabUrl=http://localhost:40175 from frame with URL http://localhost:40175/Admin/Config.aspx. The frame requesting access has a protocol of 'http', the frame being accessed has a protocol of 'chrome-extension'. Protocols must match.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Jan 2013, 02:01 PM
Hello,

I am not aware of this error and I will need your help to reproduce it.

How do you set the content? Do you set it on the client using editor.set_html() or on the server via the Content property?

 Could you please open a support ticket and provide a sample working project which demonstrates the error?


All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Patrick
Top achievements
Rank 1
answered on 16 Jan 2013, 04:00 PM
Hi, i don't no how to submit a support ticket, however i'm setting the content via server content property like:
RadEmailTemplateEditor.Content = "<a>teste</a>";

My webconfig :
 
<httpHandlers>
     <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
     <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" validate="false"/>
     <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"></add>
     <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"></add>
     <add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
   </httpHandlers>
   <httpModules>
     <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
     <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
     
   </httpModules>
 
<system.webServer>
   <modules runAllManagedModulesForAllRequests="true" />
   <validation validateIntegratedModeConfiguration="false" />
   <handlers>
     <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
     <add name="Telerik.Web.UI.DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" />
     <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" />
   </handlers>
 </system.webServer>


0
Rumen
Telerik team
answered on 17 Jan 2013, 03:34 PM
Hello,

To be able to open a support ticket, you should be a client or have a non expired trial license.

As to the provided information it is not enough because the Content property is set in many of the RadEditor's live demos and this error does not occur in them. Are you able to reproduce the issue in the Setting Content demo?

My suggestion is to upgrade to the latest Q3 2012 SP2 (2012.3.1308) build of RadEditor and test your project.

All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Patrick
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Patrick
Top achievements
Rank 1
Share this question
or