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
SQL 2005 refreshing database users
Why does performance score increase for processor due to Win7 64-bit?
How do I add a ComboBox to a C# Datagridview only in a particular cell? Not the whole column.
Insert pictures into Meeting Request
Excel Cell Click Capture
Debugging buttons disabled in visual studio 2008
Visual basic: how to use the Mouse wheel on and off (lebans software):
Outlook 2007 Add-in menu button click event... Strange behavior.
SSRS: Default Date
How to create simple FUNCTION SQL and DO FUNCTION CALL