How to use Cute ASP with my Scripts for Updating a Database

Last post 10-27-2006, 7:17 PM by testuser22. 2 replies.
Sort Posts: Previous Next
  •  10-27-2006, 7:19 AM 23863

    How to use Cute ASP with my Scripts for Updating a Database

    Does someone know how to "Replace Textareas" with Cute so that the Same Parameters will handshake with Update Scripts...

    Have a Script that Update my Textarea with Parameter Name and Value. But the Parameter in Cute is Editor.Text. So I can See my Record in Cute perfectly but my update Script does not react on Editor.Text. I do not want to change my update script as I have other field in the same Page.

    Please help and see:
    http://begusch.testsystem.at/housing/editor/default1.asp (with explanations)

    Here is the Code (without explanations)
    <!-- #INCLUDE VIRTUAL="/housing/config/include/utils.runtime6.asp" -->
    <!-- #INCLUDE VIRTUAL="/housing/config/include/ado.runtime6.asp" -->
    <!-- #INCLUDE VIRTUAL="/housing/editor/CuteEditor_Files/include_CuteEditor.asp" -->

    <html>
     
    <head>
    <link rel="stylesheet" href="asp.css"  type="text/css" />
    <%'GoLive Content Source
    set News = ADORecordSet("database" , "select * from news", "block=1", "id", "News")%>
    </head>

    <body>

    <form name="theForm" action='../config/actions/ado.actions6.asp?<%=URLArgs()%>' method="post">

    <br>
    <textarea name='d01[<%=News.AbsolutePosition%>]' rows="4" cols="40"><%=News.Value("d01")%></textarea>
    <br>

    <% Dim editor

    Set editor = New CuteEditor
    editor.ID = "Editor1"
    editor.Text = News.Value("d01")
    editor.FilesPath = "CuteEditor_Files"
    editor.EditorBodyStyle = "font:normal 12px arial;"
    editor.EditorWysiwygModeCss = "asp.css"
    editor.Draw()
    ' Request.Form(ID) access from other page %>
    </p>

    <input type="submit" name="$SubmitChanges" value="Update" <%SetupADOUpdate "$return", "$return", News%>></p>
    <% SetupADOForm News %>

    </form>
    </body>
    </html>

    <% if 0 then %><!-- Mock Content
       "News/d01" text {}
       "News/d01" html {TEXT}
    --><% end if %>

  •  10-27-2006, 2:08 PM 23878 in reply to 23863

    Re: How to use Cute ASP with my Scripts for Updating a Database

    testuser22,
     
    Please send the the original code of this page to [email protected].
     
     

    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

  •  10-27-2006, 7:17 PM 23881 in reply to 23878

    Re: How to use Cute ASP with my Scripts for Updating a Database

    Dear Adam!

    Thanks a lot. This is a great service.

    all the Best from Austria (Europe)
View as RSS news feed in XML