Home All Groups Group Topic Archive Search About

Can i call my WebForm while i'm on Internet?

Author
7 Jan 2006 9:09 AM
konox
Hi, i need help for my application.

My problem is like this:I'm on Internet and i would like to download a
file.When i press the button 'Download', I don't want to see the common
dialog box of IE for the downloading, but i want to call directly a
WebForm of my ASP.net application in order to download the file through
this form. Is it possible?

And something else: How can i call the InternetExplorer when i run and
work on an asp.net application?

Thanks in advance!

Author
9 Jan 2006 3:18 AM
Scott Allen
Yes, have the request go to an .aspx file and Response.WriteFile the
file you want to download. There are some other approaches you can
also consider, here is a nice post outlining the tradeoffs:
http://objectsharp.com/Blogs/bruce/articles/1571.aspx

Show quote
On 7 Jan 2006 01:09:17 -0800, "konox" <ko***@in.gr> wrote:

>Hi, i need help for my application.
>
>My problem is like this:I'm on Internet and i would like to download a
>file.When i press the button 'Download', I don't want to see the common
>dialog box of IE for the downloading, but i want to call directly a
>WebForm of my ASP.net application in order to download the file through
>this form. Is it possible?
>
>And something else: How can i call the InternetExplorer when i run and
>work on an asp.net application?
>
>Thanks in advance!

AddThis Social Bookmark Button