'CuteEditorClientClass' is undefined

Last post 02-03-2006, 3:54 AM by ias0nas. 12 replies.
Sort Posts: Previous Next
  •  02-02-2006, 10:33 AM 15493

    'CuteEditorClientClass' is undefined

    Hello,
     
    I have recently moved from production to a domain and I get the follwing error when tryingto open pages with cute editor inside:
     
    'CuteEditorClientClass' is undefined

     Where CE whould appear, only an image of CE appears
     
    Thank you
  •  02-02-2006, 12:53 PM 15501 in reply to 15493

    Re: 'CuteEditorClientClass' is undefined

    I am getting this issue as well, but only in IE (on Win XP) and not in FireFox.  Brand new install of 5.2 into a 2.0 website.
  •  02-02-2006, 2:36 PM 15511 in reply to 15501

    Re: 'CuteEditorClientClass' is undefined

    The problem was the location of the client files

    I solved it by doing this:

    editor.FilesPath = Server.MapPath("/CuteSoft_Client/CuteEditor/")
     
    the path may be different depending on the location of your files
     
    Hope this helps
  •  02-02-2006, 3:07 PM 15514 in reply to 15511

    Re: 'CuteEditorClientClass' is undefined

    I folowed the default installation instructions and even after using your suggestion I still have the same issue.
  •  02-02-2006, 3:12 PM 15515 in reply to 15514

    Re: 'CuteEditorClientClass' is undefined

    Yes, I think its something with the brwser, if not it would not work on either browsers
     
    But just for information, whats the path of your application and whats the path of your client files?
  •  02-02-2006, 3:49 PM 15518 in reply to 15515

    Re: 'CuteEditorClientClass' is undefined

    My app path is /DOMAIN/files_that_use_cute_editor.aspx   - http://domain.com/files_that_use_cute_editor.aspx


    The path to the editor is /DOMAIN/CuteSoft_Client/CuteEditor/
  •  02-02-2006, 4:11 PM 15523 in reply to 15518

    Re: 'CuteEditorClientClass' is undefined

    Well then, we don't seem to have the same problem
     
    Sorry that I can't be more of help, I got CE for a week now
  •  02-02-2006, 4:22 PM 15526 in reply to 15523

    Re: 'CuteEditorClientClass' is undefined

    are you sure that you have your editor in between form tags. I ran into the same error recently, and that seemed to be the issue.
  •  02-02-2006, 4:24 PM 15527 in reply to 15518

    Re: 'CuteEditorClientClass' is undefined

    bhnewt,
     
    Let us try the following solution:
     
    1. Create a new virtual directory in IIS for testing.
     
    2. Download the CE 5.2 again and install it in the above virtual directory
     
    3. Test the examples included in the download package.
     
    Keep me posted
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-02-2006, 7:21 PM 15537 in reply to 15527

    Re: 'CuteEditorClientClass' is undefined

    I tried this and as stated in the email I sent to you earlier this week the issue lies when the editor is placed in a page (2.0) with an assortment of linkbuttons that rely on the .NET generated __doPostBack() function.  I sent code where this occurs in IE with the emails. 

    I tried the download from today and while FireFox still works, it also no longer complains of errant JS.  IE, the situation is resolved as far as what was described in this thread, but the interference with the __doPostBack function still remains.

    I get the following JS error in IE with pages that contain the editor and linkbuttons which rely on the __doPostBack() function:

    -----
    Error: missing ( before formal parameters
    Source File: http://localhost/DOMAIN/CuteSoft_Client/CuteEditor/WinIE.js
    Line: 1, Column: 200
    Source Code:
    vent(OxO8ed2[0x14],Ox418) ;} finally{for(var Ox17b in Ox410){ Ox410[Ox17b]=null ;} ;for(var Ox17b in editor){try{ editor[Ox17b]=null ;} catch(x){} ;} ; Ox410=null ; editor=null ;} ;}  ; function Ox410.SetActiveTab(Ox18e){ _set_ActiveTab(Ox18e) ;}  ; funct
    -----

    Thanks for your time.
  •  02-02-2006, 8:53 PM 15544 in reply to 15537

    Re: 'CuteEditorClientClass' is undefined

    bhnewt,
     
    I found your email.
     
    I am working on your code now and will get back to you as soon as possible.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-02-2006, 9:07 PM 15545 in reply to 15544

    Re: 'CuteEditorClientClass' is undefined

    bhnewt,
     
    The project you sent to me is pretty big.
     
    So I created a simple aspx and tested it using VS2005. And I didn't find any problems with the Link button.
     
    Here is the code:

    <%@ Page Language="C#"%>
    <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
    <script language="C#" runat="server">
     
          void LinkButton_Click(Object sender, EventArgs e)
          {
              Editor1.Text = "You clicked the link button";
          }
     
       </script>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <CE:Editor ID="Editor1" runat="server">
            </CE:Editor>
           
            <br />
            <br />
       
            <asp:LinkButton ID="LinkButton1"  OnClick="LinkButton_Click" runat="server">LinkButton</asp:LinkButton>
        </div>
        </form>
    </body>
    </html>


    Keep me posted
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-03-2006, 3:54 AM 15558 in reply to 15545

    Re: 'CuteEditorClientClass' is undefined

    bhnewt,
     
    Try changing the linkbutton's id to something weird, something no one else would of put
     
    I had a similar problem
View as RSS news feed in XML