Re: Object doesnt support property or method

  •  04-07-2006, 12:25 AM

    Re: Object doesnt support property or method

    You are using the .NET javascript API.
     
    For the classs asp, please use the following code instead:
     
       <%
        dim content
        content = "Type here" 
        Dim editor
        Set editor = New CuteEditor
        editor.ID = "Editor1"
        editor.Text = content
        editor.FilesPath = "CuteEditor_Files"
        editor.EditorBodyStyle = "font:normal 12px arial;"
        editor.EditorWysiwygModeCss = "asp.css"
        editor.Draw()
                
        ' Request.Form(ID) access from other page
       %>
        
       <br/><br/>
       <TEXTAREA cols=50 rows=5 id=myTextArea style="width:550px" NAME="myTextArea">Try click the "get HTML" button</TEXTAREA>
       <br/><br/>
       
       <INPUT type=button name=b4 value="get HTML" onclick="myTextArea.value=obj_Editor1.getHTML()" ID="Button1">
       <INPUT type=button name=b5 value="set HTML" onclick="obj_Editor1.editdoc.body.innerHTML=myTextArea.value;" ID="Button2">
       <INPUT type=button name=b9 value="insert HTML" onclick="obj_Editor1.PasteHTML('This is a test!')" ID="Button7">


    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

View Complete Thread