473,378 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

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

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!

Jan 8 '06 #1
1 983
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

--
Scott
http://www.OdeToCode.com/blogs/scott/

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!


Jan 9 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Prasad Patil | last post by:
Hi, I have a webform, The link on the webform should call the exe program installed on the client machine when the user click the link on the webform. It should run the exe installed on the...
5
by: tom | last post by:
I have a local Excel spreadsheet I am potentially migrating to MS Access. The thought was to use Access on the workstation for data-entry and subsequent generation of mailing labels and other...
0
by: Thom Little | last post by:
..NET Framework 1.1 I have a C# WinForm that invokes a C# WebForm using System.Diagnostics.Process.Start( ) to invoke the default browser and access a specific URL. This works great but I can...
1
by: VB Programmer | last post by:
I am going to use an ActiveX control on my webform. 1. How can I set it up so that if a user views the web page and doesn't have the ActiveX control it immediately/automatically downloads it...
2
by: Chris | last post by:
Hi, I use a datagrid in a webform but the grid is never visible in the browser (only at design-time is it visible). Using it in a Winform : no problem. How come ? Thnx
3
by: Ron Rasmussen | last post by:
Greetings I have a webform that I need to download a DLL to the client's PC and then call the DLL and pass it a value. I have looked everywhere but I can't find a good example Any suggestions?...
1
by: thanh toan | last post by:
i have a simple webform. My home network has two computers and the second one can access the webform in webroot of the computer with IIS. I bring the computer with iis(laptop) to school and get...
3
by: Dean Slindee | last post by:
Would like to call the TabShow function on WebForm InOutHost from another WebForm in same project, but cannot figure out how to get a reference. Can this be done? In this statement: Call...
2
by: Luqman | last post by:
How can I open another WebForm in ASP.Net / VS 2005 without closing the Current Webform. I tried using Server.Transfer("Form2.Aspx",True) on Button_Click of Form1 but it close the current web...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.