I have a test page Test.aspx, below is the code i have it in Page_Load function.
Response.Write("test");
When i execute this page, i can see the html out put “test” along with
html, body tags in it.
What should i do so that the output only has the text “test”, and no body,html tags?
Please suggest.
You can try with this code – based on
ContentType = "text/plain";