Questions tagged [response.write]
141 questions
0
votes
1 answer
HTTP File Servers and the .writeHead method
The goal of this exercise is to create an HTTP server that serves the same text file for each request that it receives. Here is my code. It doesn't work.
var http = require ('http');
var fs = require ('fs');
var port = process.argv[2];
…

Streamer
- 173
- 1
- 1
- 11
0
votes
1 answer
Generate file for download using Response.Write and change elements on the page
I am trying to change the text of a asp:textbox and collapse some ajaxToolkit:CollapsiblePanelExtenders within some ascx controls on my page as well as output a dynamically generated file. I have no problem collapsing the CollapsiblePanelExtenders…

Ben
- 2,058
- 9
- 29
- 39
0
votes
1 answer
Using Response.WriteFile() in a Controller
I'm wanting to leverage Response.WriteFile() to send a file to the client machine but when I implement it inside of a controller, my return View() is no longer returning a View. My guess is that Response is already responding to the request. How…

JReam
- 898
- 2
- 13
- 28
0
votes
1 answer
What is the best way to display alert message from the MVC4 Controller?
I want to display a message from the controller. I am using MVC4 with Extjs. I tried using:
Response.Write(@" ");
}
I've added using…

Ana
- 113
- 13
0
votes
2 answers
How to don't make screen blink when use Response.Write
I want to show an alert on my Web page. I used Response.Write by using a try catch block.
When it shows the alert, the page gets white, then after I click okay on the alert box, the page come back. I want the page to stay unchanged and the alert to…

naanace
- 363
- 1
- 4
- 17
0
votes
1 answer
JavaScript array from ViewData list - Razor
I used the following in my MVC3 (aspx) to generate an array from ViewData that contains a list: