Questions tagged [response.write]

141 questions
1
vote
4 answers

Do I need Response.End() in ASP.Net 2.0

I am just starting with ASP.Net. I copied a ex-co-worker's code (from .Net 1.1 era) and it has a Response.End(); in case of an error. There is also a: catch (Exception ex) { Response.Write(ex.Message); …
Hamish Grubijan
  • 10,562
  • 23
  • 99
  • 147
1
vote
3 answers

Gets Error while i write Response.write() on click event of button

Sys.Webforms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or…
Khilen
  • 1,009
  • 2
  • 15
  • 27
1
vote
2 answers

how to display response.write in asp.net

I'm trying to display response.write function after user completes registration form. I've done it like this, but it doesn't work. I already tried both ways, still nothing has changed. Response.Redirect("Login"); Response.Write("Registration…
fkr
  • 155
  • 3
  • 9
  • 21
1
vote
2 answers

ASP javascript write at the point of execution

I am trying to develop a simple back-end widget for asp. Since, I am new to ASP, I chose JavaScript as ASP language. I think I don't have the right tool to write to output. Response.Write() sends output directly to the start of the page. What I am…
cnvzmxcvmcx
  • 1,061
  • 2
  • 15
  • 32
1
vote
3 answers

How to make Response.Write Display special character like "<",">"

I want to use Response.Write to display some text on the screen using ASP.NET I created a variable String s = "There is some which is not visible"; Response.Write(s); What I found is when the browser only display "There is some which…
ks_baba
  • 29
  • 3
  • 11
1
vote
3 answers

Response.Write or plain ol' HTML

What is better coding practice, with speed in mind (Classic ASP): sPg=sPg& "