Editor1_HTMLContent Not Working ???

  •  05-30-2009, 12:47 PM

    Editor1_HTMLContent Not Working ???

    Can anyone devise why this page:
     
    <!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>
        <title>Untitled Page</title>
        <!-- #include file = "../CuteEditor_Files/include_CuteEditor.asp" -->
    </head>
    <body>
    <form name="frmUpdatePage" method="POST" action="admin_update_page.asp">
        <input type=hidden name="PageID" value="<%=PageID%>" />
        <input type=hidden name="PageName" value="<%=PageName%>" />
        <b><%=PageName%></b>
        <br />
        <%                            
            Dim editor
            Set editor = New CuteEditor
            editor.ID = "Editor1"
            editor.Text = "TEST"
            editor.FilesPath = "../CuteEditor_Files"
            editor.MaxImageSize = 50
            editor.AutoConfigure = "Simple"
            editor.Width = 740
            editor.Height = 500
            editor.Draw()
        %>
    </form>
    <input type=submit value=" UPDATE PAGE DATA " onclick="frmUpdatePage.submit();"/>
    </body>
    </html>


    Would not properly pass the content of the editor to this page?



    <%
    PageID = request.Form("PageID")
    PageName = request.Form("PageName")
    PageCopy = Request.Form("Editor1_HTMLContent")
    response.Write "PAGE ID = " & PageID & "<BR><BR>"
    response.Write "PAGE NAME = " & PageName & "<BR><BR>"
    response.Write "PAGE COPY = " & PageCopy & "<BR><BR>"
    response.End
    %>

    The editors content is not being passed as a part of the form collection and I cannot for the life of me figure out why?
     
    Thanks for your help in advance.....R


    Filed under:
View Complete Thread