I need to download file from web server, without using save
as dialogue box. Can anyone help, thanks In advance.
for save as dialoge box use this code
Response.ClearContent();
//give file type
Response.ContentType = "video/.wmv";
Response.AddHeader("content-disposition", "attachment;
filename=download.wmv");
string filename1 = @"E:\xyz.wmv";
Response.TransmitFile(filename1);
but if you need to download file without user interaction
then please refer to this link
http://www.devarticles.com/c/a/ASP.NET/HTTP-File-Download-
Without-User-Interaction-Using-.NET/
Is This Answer Correct ? | 3 Yes | 0 No |
What is form submit?
can we transfer data from one page to another page using viewstate if so how?if not y?
Where is session data stored in asp net?
What r Callbacks in ASP.NET?
What is Difference between Callbacks and Postback in ASP.NET?
Write a code for "RequiredFieldValidator" in java script
What is the difference between globalization and localization?
Describe the disadvantage of cookies.
Write the different features of a Thread and a Process?
Do I need to have the latest version of windows media player installed?
If i have a web page, and one web user control, where in web page contains a text box, and web user control have check box, if i place a web user control in the webpage, when i check the check box, the out put should show it is checked or not. How we can do this?
How you can stop the validation of ASP.NET controls from client side?
0 Answers Sans Pareil IT Services,