HighTechTalks DotNet Forums  

FileDownload Control ???

ASP.net Web Controls microsoft.public.dotnet.framework.aspnet.webcontrols


Discuss FileDownload Control ??? in the ASP.net Web Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
ComputerWeenie
 
Posts: n/a

Default FileDownload Control ??? - 12-07-2007 , 02:54 PM






I am using Visual Web Developer and using the FileUpload Control to upload
files to the web server just fine.

But, why do I not see a FileDownload Control? How can I allow users to
download files from the web server?


--
ComputerWeenie

Reply With Quote
  #2  
Old   
Phil H
 
Posts: n/a

Default Re: FileDownload Control ??? - 12-08-2007 , 12:54 PM






On 7 Dec, 20:54, ComputerWeenie
<ComputerWee... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
I am using Visual Web Developer and using the FileUpload Control to upload
files to the web server just fine.

But, why do I not see a FileDownload Control? How can I allow users to
download files from the web server?

--
ComputerWeenie
There is one. It's called a hyperlink (put the file path in the the
href or NavigateUrl attribute values).

Registered file types (e.g. jpeg, gif, pdf etc) will invoke browser
behaviours that display the file in a browser window but that can be
overriden by the user doing a right-click and selecting "save target
as".

HTH


Reply With Quote
  #3  
Old   
ComputerWeenie
 
Posts: n/a

Default Re: FileDownload Control ??? - 12-10-2007 , 08:01 AM



Phil,

Thank you! Thank you! Thank you!

Just one last question.... I have used the Hyperlink control and put the
file path in the the NavigateUrl. If I right click on the hyperlink it allows
me to File-Save.

But why does the Save As dialog not appear when just clicking on the
Hyperlink???


--
ComputerWeenie


"Phil H" wrote:

Quote:
On 7 Dec, 20:54, ComputerWeenie
ComputerWee... (AT) discussions (DOT) microsoft.com> wrote:
I am using Visual Web Developer and using the FileUpload Control to upload
files to the web server just fine.

But, why do I not see a FileDownload Control? How can I allow users to
download files from the web server?

--
ComputerWeenie

There is one. It's called a hyperlink (put the file path in the the
href or NavigateUrl attribute values).

Registered file types (e.g. jpeg, gif, pdf etc) will invoke browser
behaviours that display the file in a browser window but that can be
overriden by the user doing a right-click and selecting "save target
as".

HTH


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.