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

Radeditor and chrome, designer not working

7 Answers 216 Views
Editor
This is a migrated thread and some comments may be shown as answers.
James Shelton Agar
Top achievements
Rank 2
James Shelton Agar asked on 23 Aug 2010, 07:07 AM
I have it always inside radtooltip, With the latest version (817), the editor designer works in IE, but not with chrome, however, when I change to html, it has contents there.
My chrome version is 6.0.472

7 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 25 Aug 2010, 12:13 PM
Hi James,

I tried to reproduce the reported problem with the provided information but to no avail. Could you please open a support ticket and provide a sample runnable project and / or a live URL demonstrating the problem so we can investigate it further.

In addition, please note that Google Chrome 6.0 is still beta and we do not fully support beta version of browsers.

For your convenience I have attached my test project and prepared a movie demonstrating my tests. Could you please modify it to a point where the problem occurs and send it back?

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
James Shelton Agar
Top achievements
Rank 2
answered on 26 Aug 2010, 02:19 AM
we got the following js error message that stop from processing further from Chrome
[1:16:34 p.m.] Lin Li: Telerik.Web.UI.WebResource.axd:26769
Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15

Telerik.Web.UI.WebResource.axd:25469
Uncaught TypeError: Cannot call method 'toString' of undefined
js error is:
Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15

from:
Telerik.Web.UI.WebResource.axd:26769

and we got another problem is editor dropdown can not open in chrome

js error is 
Uncaught TypeError: Cannot call method 'toString' of undefined

from 
Telerik.Web.UI.WebResource.axd:25469
[1:16:34 p.m.] Lin Li: Telerik.Web.UI.WebResource.axd:26769
Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15

Telerik.Web.UI.WebResource.axd:25469
Uncaught TypeError: Cannot call method 'toString' of undefined
0
Dobromir
Telerik team
answered on 27 Aug 2010, 02:47 PM
Hi James,

Are you getting these errors with the sample project I have attached in my previous replay? If so, could you please provide the exact steps that need to be executed in order to replicate this problem?

In order to provide further assistance we need to be able to examine the exact issue. Could you please open a support ticket and provide a sample runnable project replicating the problem so we can investigate it further?

Looking forward to hearing from you,
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
James Shelton Agar
Top achievements
Rank 2
answered on 30 Aug 2010, 05:45 AM
we can't load editor content text when open tooltip frome code in chrome (version 5.0.375.127), but content will display if we open tooltip using js,  even editor can't display drop down

code
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
 
<%@ 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></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadTreeView1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadTreeView1" />
                    <telerik:AjaxUpdatedControl ControlID="RadEditor1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
    </telerik:RadStyleSheetManager>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
        <telerik:RadTreeView ID="RadTreeView1" runat="server">
            <Nodes>
                <telerik:RadTreeNode Text="code open editor" Value="test">
                </telerik:RadTreeNode>
            </Nodes>
        </telerik:RadTreeView>
        <telerik:RadTreeView ID="RadTreeView2" runat="server" OnClientNodeClicking="RadTreeView2Click">
            <Nodes>
                <telerik:RadTreeNode Text="js open editor" Value="jsopen">
                </telerik:RadTreeNode>
            </Nodes>
        </telerik:RadTreeView>
        <telerik:RadToolTip ID="RadToolTip1" runat="server" Position="Center" HideEvent="ManualClose"
            ShowEvent="OnClick" Width="800px" Height="500px">
            <telerik:RadEditor ID="RadEditor1" runat="server">
                <Content>              
                </Content>
            </telerik:RadEditor>
        </telerik:RadToolTip>
        <telerik:RadToolTip ID="RadToolTip2" runat="server" Position="Center" HideEvent="ManualClose"
            ShowEvent="OnClick" Width="800px" Height="500px">
            <telerik:RadEditor ID="RadEditor2" runat="server">
                <Content>
                    test2 content
                </Content>
            </telerik:RadEditor>
        </telerik:RadToolTip>
        <asp:Label ID="Label1" runat="server" Text="test editor content" Visible="false"></asp:Label>
    </div>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript">
          <!--
            function RadTreeView2Click(sender, args) {
                var node = args.get_node();
                if (node.get_value() == 'jsopen') {
                    var tooltip = $find("<%=RadToolTip2.ClientID%>");
                    tooltip.show();
                }
            }
 
            function showtip() {
                var tooltip = $find("<%=RadToolTip1.ClientID%>");
                tooltip.show();
            }
 
          -->
        </script>
    </telerik:RadCodeBlock>
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px">
    </telerik:RadAjaxPanel>
    </form>
</body>
</html>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
       If Not Me.IsPostBack Then
 
       End If
   End Sub
 
   Protected Sub RadTreeView1_NodeClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs) Handles RadTreeView1.NodeClick
       RadEditor1.Content = Label1.Text
       RadAjaxPanel1.ResponseScripts.Clear()
       RadAjaxPanel1.ResponseScripts.Add("showtip();")
   End Sub
0
Dobromir
Telerik team
answered on 31 Aug 2010, 04:46 PM
Hi James,

While examining the provided sample code I noticed that the tooltip that is opened from code throws a JavaScript error which prevents further execution. The error occurs because the showtip() function is called too early in the page live cycle and the tooltip's client-side object is not created yet.

To ensure that the tooltip is fully loaded you need to execute the related code during the application Load event. Here is a modified showtip() JavaScript function:
function showtip()
{
    function f()
    {
        Sys.Application.remove_load(f);
        var tooltip = $find("<%=RadToolTip1.ClientID%>");
        tooltip.show();
    }
 
    Sys.Application.add_load(f);
}

I hope this helps.

All the best,
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
James Shelton Agar
Top achievements
Rank 2
answered on 31 Aug 2010, 11:34 PM
radeditor can't open in chrome and IE now, it can open in ff but can't load content...
0
Dobromir
Telerik team
answered on 03 Sep 2010, 08:16 AM
Hi James,

The reason for this problem to occur a known issue of RadEditor - when it is placed in an initially hidden parent. Could you please, try the workaround provided in the attached sample project and see if the problem still exists?

I hope this helps.

Greetings,
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
Tags
Editor
Asked by
James Shelton Agar
Top achievements
Rank 2
Answers by
Dobromir
Telerik team
James Shelton Agar
Top achievements
Rank 2
Share this question
or