Radeditor and chrome, designer not working

8 posts, 0 answers
  1. James Shelton-Agar
    James Shelton-Agar avatar
    108 posts
    Member since:
    May 2008

    Posted 23 Aug 2010 Link to this post

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

    Posted 25 Aug 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. James Shelton-Agar
    James Shelton-Agar avatar
    108 posts
    Member since:
    May 2008

    Posted 25 Aug 2010 Link to this post

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

    Posted 27 Aug 2010 Link to this post

    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
  6. James Shelton-Agar
    James Shelton-Agar avatar
    108 posts
    Member since:
    May 2008

    Posted 30 Aug 2010 Link to this post

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

    Posted 31 Aug 2010 Link to this post

    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
  8. James Shelton-Agar
    James Shelton-Agar avatar
    108 posts
    Member since:
    May 2008

    Posted 31 Aug 2010 Link to this post

    radeditor can't open in chrome and IE now, it can open in ff but can't load content...
  9. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 03 Sep 2010 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017