problem with RadEditor, document.domain, and ie

4 posts, 0 answers
  1. le coustre stephane
    le coustre stephane avatar
    1 posts
    Member since:
    Apr 2003

    Posted 05 Apr 2011 Link to this post

    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
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 05 Apr 2011 Link to this post

    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
  3. Oscar
    Oscar avatar
    1 posts
    Member since:
    May 2011

    Posted 20 May 2011 Link to this post

    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>


  4. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 24 May 2011 Link to this post

    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.

Back to Top