Opened 12 years ago

Last modified 11 years ago

#8924 confirmed Bug

Problem with ckEditor inside div with visible=false

Reported by: David Owned by:
Priority: Normal Milestone:
Component: Server : ASP.Net Version: 3.6.1
Keywords: 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 (support for ipads), 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. The js file is actually at that location as well.

Thinking this could be a problem/conflict 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>


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

        <asp:UpdatePanel ID="upCk" runat="server" UpdateMode="Conditional"> 
				<asp:Button ID="btnToggle" runat="server" Text="toggle" /> 
				<div id="divCk" runat="server" visible="false">
					<CKEditor:CKEditorControl ID="ckEdit" runat="server" />



(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.

I've tested it in 3.6.2 and have the same problem, but, as noted, do not experience it in 3.6.1.

Am I missing some change to how we should load ckEditor post 3.6.1?

Attachments (1) (993 bytes) - added by Jakub Ś 11 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 12 years ago by Jakub Ś

Component: GeneralServer : ASP.Net
Keywords: Ajax Inaccessible_path visible=false updatePanel removed

Changed 11 years ago by Jakub Ś

Attachment: added

comment:2 Changed 11 years ago by Jakub Ś

Status: newconfirmed

I have used page provided by @David and can say that I was able to reproduce this problem even in CKEditor 3.6.1 ASP.NET so I'm not sure if this is CKEditor or Configuration problem.

Most commonly repeated solution:

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