CuteEditorClientClass is undefined error

Last post 06-21-2007, 4:38 AM by webreality. 8 replies.
Sort Posts: Previous Next
  •  01-13-2006, 7:41 AM 14712

    CuteEditorClientClass is undefined error

    I'm testing the cute editor but i get this jscript error when running the project:

    "Microsoft JScript runtime error: 'CuteEditorClientClass' is undefined"

    I have included the dll and lic in the bin directory and the cutesoft_client directory in the application root. Is there anyone who can tell me what the problem is?
  •  01-13-2006, 10:08 AM 14715 in reply to 14712

    Re: CuteEditorClientClass is undefined error

    Now I know a little bit more. This happens when I use the FilesPath property to point out the cutesoft_client directory. When I have the cutesoft_client dir in the root path everything is OK. Has anyone else seen this problem when using the Filespath propery and how do you solve it?
  •  01-13-2006, 2:34 PM 14722 in reply to 14715

    Re: CuteEditorClientClass is undefined error

    Scott,
     
    Can you tell me your file structure?
     
    And how do you configure the FilesPath property?
    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

  •  01-13-2006, 4:31 PM 14723 in reply to 14722

    Re: CuteEditorClientClass is undefined error

    Here is a simple example that illustrates my problem:
     
    1. I create a project called TestProject. (c:\Inetpub\wwwroot\TestProject)
    2. I place the dll and lic file in the bin directory (c:\Inetpub\wwwroot\TestProject\bin)
    3. Then I create a directory called 'editor' and put the CuteSoft_Client\CuteEditor directory in it. (c:\Inetpub\wwwroot\TestProject\editor\CuteSoft_Client\CuteEditor)

    4. Then I create an cute editor in the aspx-file (<ce:Editor id="editor" runat="server"></ce:Editor>) and declare it in the code-behind (CuteEditor.Editor editor;)
    5. In the Page_Load event i call editor.FilesPath=@"c:\Inetpub\wwwroot\TestProject\editor\CuteSoft_Client\CuteEditor"; 
     
    This results in the jscript error mentioned above when running the application
  •  01-18-2006, 11:06 AM 14835 in reply to 14723

    Re: CuteEditorClientClass is undefined error

    I got this error too, then realised that I hadn't encosed the <CE:Editor></CE:Editor> tags within a <Form runat="server"></Form> tag. It seems to work a bit better now.
  •  01-19-2006, 7:56 AM 14889 in reply to 14835

    Re: CuteEditorClientClass is undefined error

    Problem solved! There was some problem with the folder were I put the clientsoft directory
  •  07-07-2006, 2:20 PM 20816 in reply to 14889

    Re: CuteEditorClientClass is undefined error

    I getting the same issue.  What did you do with the folder strucure to make it work
  •  07-10-2006, 9:27 AM 20840 in reply to 20816

    Re: CuteEditorClientClass is undefined error

    I figured it out.  In the form tag I did not have the runat="server"
  •  06-21-2007, 4:38 AM 30943 in reply to 20840

    Re: CuteEditorClientClass is undefined error

    Hi all,
     
    I was trying to render the editor on a Callback (using ASP.NET 1.1 and ComponentArt).
     
    Was receiving the same error.
     
    However, if I create a literal, and set the text to

    editor.GetSharedClientIncludes()

    I can render this to the output at the same time, and this error is no more.
     
    Cheers,
     
    Tom.
     
     
View as RSS news feed in XML