ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
I need to download file from web server, without using save
as dialogue box. Can anyone help, thanks In advance.
 Question Submitted By :: Priyappated
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I need to download file from web server, without using save as dialogue box. Can anyone help, thanks In advance.
Answer
# 1
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
Kuldeep
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
In which interface the template of any control like Gridview would Initiate?  2
how to use web services with code?(with example code) Accenture1
what is asp dotnet  1
What is Active Directory? What is the namespace for that?  2
What is boxing? Misys4
if u r projet consist of 4 people means how can u manage the file Mind-Tree8
What is an application domain ? Microsoft2
State management in asp.net ? Accenture4
What is the roll of JIT in asp.net?  4
What is .Net3.0 and .Net3.5? Describe something about that Features..  1
In a Code-Behind class generally which type of code is found ?  3
If I'm developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users? Syntax-Softtech7
How we generate the BARCODE in ASP.Net using c# ! in library management systen for books .  2
How much data (Max K) can go into a QueryString? TCS4
what is advantage of developing in asp.net.why the same can't be developed in Java or other web developemnt tool.what are advantages of developers. IBM4
Descrie about response.buffer and repsonse.flush ? Cognizent1
If we add a textbox and give the required field validator,and i add two radio buttons 1 is yes another one is No.And i add another one server control button ,if i click the button ,if the radio button Yes is checked the validation control is fired ,if no the validation control is not fired.So what you used to solve this problem. CTS6
how to add cliet side event to server side? and how to register client script to sever side? wt difference these two PSI-Data-Systems3
What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed. Syntax-Softtech2
Can any one explain with the example how to capture the application error in Aplication_Error() method? Infosys1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com