Microsoft
Software
Hardware
Network
Question : ASP.NET Response.Write ()- only the text without HTML formatting
Hi,
I am doing the following to write to reponse
Response.Clear();
Response.Write("My String");
Response.Flush();
This writes perfectly on the web browser
But then I use another Web application to leech the response I found the text to be formatted with HTML in additiopn to \R\N (new line )
When i go and view source I find the following
My String
http://www.w3.org/TR/xhtm
l1/DTD/xht
ml1-transi
tional.dtd
">
http://www.w3.org/1
999/xhtml"
>
Untitled Page
From the content it looks like the request is return on the response too..
All i want is to send "My String" as plain text..
Any help is appreciated
Answer : ASP.NET Response.Write ()- only the text without HTML formatting
Try usign
==========================
===
Response.Clear();
Response.Write("My String");
Response.End();
Random Solutions
Pinnicle PCTV 330e
Only display "True" check boxes on Access report
Desktop app registry and program files access under Vista and Windows7
Using a Field from a Table as part of the file name when saving in a module
How to change power settings on a PC, and make it effective to all users.
How can I set a variable equal to a value returned from an SQL SELECT statement
limit for ms sql
Will domain GPO over write the local policy.
MySQL command to replace data in tables
silverlight 3.0 mouse wheel support