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

problem with RadEditor, document.domain, and ie

3 Answers 91 Views
Editor
This is a migrated thread and some comments may be shown as answers.
le coustre stephane
Top achievements
Rank 1
le coustre stephane asked on 05 Apr 2011, 01:37 PM
Hello, 
I am running into an issue where I need to set document.domain in order to allow communication between rad windows.  an unintended consequence seems to be that radeditors no longer function.  Is there a work around, or fix for this issue?  

Version : 2010.2.929.40

Thanks

3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 05 Apr 2011, 02:45 PM
Hello,

Could you please try setting the RadEditor's ContentAreaMode property to Div and see if the problem still exists. If so, could you please provide more detailed information on the specific scenario? A sample page reproducing the problem will be of great help solving this case.

Kind regards,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Oscar
Top achievements
Rank 1
answered on 21 May 2011, 01:00 AM
Hello.

I'm having the same problem. If you try this page you'll notice the editor doesn't work anymore.
Just by removing the line "document.domain = document.domain;" it starts working again.

Any ideas?

Thanks.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test1.aspx.cs" Inherits="Test1" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title>Untitled Page</title>
    <script type="text/javascript">
        document.domain = document.domain;
    </script>
</head>
<body>
    <form id="form1" runat="server">
     
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
     
    <div>
        <telerik:RadEditor ID="RadEditor1" runat="server" ContentAreaMode="Div">
        </telerik:RadEditor>
    </div>
    </form>
</body>
</html>


0
Dobromir
Telerik team
answered on 24 May 2011, 01:30 PM
Hi,

Unfortunately, we are still unable to find a complete solution for the issue when the document.domain of the page is modified. Regardless the ContentAreaMode property most of the RadEditor's dialogs are displayed inside <iframe>'s and that is causing the problem. We are working on this issue but I am not able to provide a firm estimate for when a fix will be available (if possible).

This problem is also discussed in the following forum thread:
document.domain Access Denied in IE 6

Greetings,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Editor
Asked by
le coustre stephane
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Oscar
Top achievements
Rank 1
Share this question
or