Hi, Eliyahu.
I'm referring to standard html emitted by the server.
All the ASP.NET engine does is send HTML markup to the browser, as you
know.
It doesn't send anything else, so sending nothing is impossible.
If there is to be *something* received by the browser, it *must* be
enclosed within html tags.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
===================================
message Juan,
Do you mean the browser substitutes a response that doesn't meet the
minimal requirements with the standard minimum? Or you are referring to
the server side?
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
re:
I still get html code when doing view source:
If basic html markup isn't sent to a browser, no browser will be able
to read the page.
A browser needs the basic html markup sent to it if you want it to
read the response.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
===================================
I just did as you mentioned but I still get html code when doing view
source:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1255"></HEAD>
<BODY></BODY></HTML>
Any other idea ?
Thanks
ra294
message In the .aspx file leave just one line with the <%@ Page ...
directive and delete all the rest.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
I am building a page that needs to recieve some parametes and return
blank page (empty response).
After I recieve the parametes I write:
Response.clear
Response.End
When I run the page I still get some html when doing "view source"
in IE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1255"></HEAD>
<BODY></BODY></HTML>
How so return a completly blank page ?
Thanks
ra294