Re: Help with upgrade from version 3 to version 4 on Cute Editor for ASP

  •  05-23-2005, 7:59 AM

    Re: Help with upgrade from version 3 to version 4 on Cute Editor for ASP

    I'm making some progress converting from V3 to V4. However I am getting this error message after the first of my editors on a page. "Microsoft VBScript runtime error '800a000d'  Type mismatch: 'Session'  /CuteEditor_Files_V4/include_CuteEditor.asp, line 906"

    Here is the code that I am using to edit the content in a recordset field.
     
    "<% content = trim((Recordset1.Fields.Item("Chan_two_Content").Value))
    if isNull(content) or IsEmpty(content) or len(trim(content))= 0 then
     content = " "
    end if  
              Set editor = New CuteEditor
              editor.ID = "Chan2Editor"
              editor.Text = content
              editor.FilesPath = "CuteEditor_Files_V4"
              editor.ImageGalleryPath = "/uploads"
              editor.MaxImageSize = 50
              editor.DocumentPath = "/uploads/documents"
              editor.MaxDocumentSize = 2000
              editor.AutoConfigure = "Thin"
              editor.ShowBottomBar = true
              editor.ShowHtmlMode = true
              'editor.ShowLogo = false
              editor.HelpUrl = "Help/default.htm"
              editor.Width = 260
              editor.Height = 250
              editor.Draw()
           %>
    Should Editor.Text now be "MessageField"

    Any ideas? If you would like to see the code for the entire page I can send it to you as an attachement.

    Thanks
View Complete Thread