G
Garry Stewart
Hello group,
I am wondering what the general public opinion is of using HTML tags
in an ASP script versus using Response.Write to display HTML code,
when you are developing Web Applications. (In particular database
apps)
It seems to me that using Response.Write gives you more control and
allows you to catch and display error messages. You can create a
library of functions that write out a standard header, standard footer
and client side scripts, and call them as simply as writePage( content
); from within each ASP script. Typically I buffer all of my content
to a String variable and dump it with a single Response.Write within
the writePage( content ) function. Can anyone point out any
pit-falls to doing this?
The down side seems to be that the HTML within the Response.Write gets
ugly, and it pretty much makes the Design View in Visual Interdev
useless.
Any positive suggestions or tips would be most welcome.
Thanks.
I am wondering what the general public opinion is of using HTML tags
in an ASP script versus using Response.Write to display HTML code,
when you are developing Web Applications. (In particular database
apps)
It seems to me that using Response.Write gives you more control and
allows you to catch and display error messages. You can create a
library of functions that write out a standard header, standard footer
and client side scripts, and call them as simply as writePage( content
); from within each ASP script. Typically I buffer all of my content
to a String variable and dump it with a single Response.Write within
the writePage( content ) function. Can anyone point out any
pit-falls to doing this?
The down side seems to be that the HTML within the Response.Write gets
ugly, and it pretty much makes the Design View in Visual Interdev
useless.
Any positive suggestions or tips would be most welcome.
Thanks.