Opened 12 years ago

Closed 12 years ago

#8923 closed Bug (invalid)

Problem with ckEditor instance inside div with visible=false

Reported by: David Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.3
Keywords: Ajax, Inaccessible path, Failure to Load, Cc:


I was previously using 3.6.1, which worked fine for the most part, but in order to fix an issue that cropped up, we decided to upgrade to the latest version.

Using 3.6.3, i now receive the following error when the ckeditor tries to load:

Sys.ScriptLoadFailedException: The script 'http://localhost/idev/ckeditor/ckeditor.js?t=B8DJ5M3' failed to load. Check for: Inaccessible path. Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings. Missing call to Sys.Application.notifyScriptLoaded().

My instance of ckEditor is located inside a div which is located inside an AJAX update panel. The div initially is set to be visible = false, as per the subject. It is toggled to be visible when a button is pushed.

Thinking this could be a problem with something else in my code, I made a very simple website which ONLY had a ckEditor contained in a div contained in an update panel.

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

<html xmlns=""> <head runat="server">

<title>Untitled Page</title>

</head> <body>

<form id="form1" runat="server"> <div>

<asp:ScriptManager ID="scriptManager1" runat="server" />

<asp:UpdatePanel ID="upCk" runat="server" UpdateMode="Conditional"> <ContentTemplate>

<asp:Button ID="btnToggle" runat="server" Text="toggle" /> <div id="divCk" runat="server" visible="false">

<CKEditor:CKEditorControl ID="ckEdit" runat="server" />


</ContentTemplate> </asp:UpdatePanel>

</div> </form>

</body> </html>

(the button simply toggles visibility and updates the updatePanel when clicked)

When divCk is set to initially be visible=true, ckEditor works perfectly. When divCk is set to initially be visible=false and the user toggles divCk's visibility by pressing the button, ckEditor does not load correctly, instead presenting the error mentioned above.

Change History (1)

comment:1 Changed 12 years ago by David

Keywords: Inaccessible path Failure to Load added
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy