Re: Why response.write?

  •  02-02-2004, 3:29 AM

    Re: Why response.write?

    No thats not what i meant...

     

    Look your example works just fine.. because your parsing it directly to the client... What i want is first store it and parse it at a later time.. because i use a template engine.

     

     

    Your thing works:


    Response.Write editor.Draw() & "Hello World"


     

    But what i want is like:


    strOutput = strOutput & _

    "<table>" & _

    "<tr>" & _

    "<td>" & _

    editor.Draw() & _

    "</td>" & _

    "</tr>" & _

    "</table>"


     

    So now its stored in strOutput.. Later in my scripts i can adjust that variable like:


    strOutput = _

    "Here some more text to the original string" & strOutput


     

    And then at the end of the script writing it out


    response.write strOutput


     

    This all aint possible because the function Draw() is all response write.. So when i call it it already writes the editor to the client... So i cant store it and write it later... Hope you understand now... with this example... just test it out and you know what i mean.

View Complete Thread