473,409 Members | 2,056 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,409 software developers and data experts.

Hide Status Bar & Address Bar while file downloads, asp.net 2.0

Hi everybody, sorry if this seems stupid but I'm a newbie :-( to all of
this.

I'm trying to hide the full file path in IE7 and IE6 while a user clicks on
alink on my page and downloads a file from my server, just want to open the
file download box but the path must remain invisible.

I've achieved this successfully in all other browsers (Fire fox, safari,
opera) with a simple call from my asp.net 2.0 page to a JavaScript function
that
only has a window.location(http://www.someaddress.com/myfile.zip), in an
external JavaScript file, like this:

<script type="text/JavaScript" src="somelink.js"></script>
</head>
<body>
<a href="javascript:downloadlink();" onmouseover="status='see you'; return
true;" onmouseout="status='later';">Download File</a>
</body>
How can achieve the same functionality in IE7 and IE6, please any help would
be greatly appreciated this is urgent.

Thanks in advanced
Jul 18 '08 #1
1 2631

you can't. for security IE removed this feature. I assume the other
browsers will also.

you should switch to a download page (say download.aspx) that knows the
file name (say via session) and performs the download.
-- bruce (sqlwork.com)
axelman wrote:
Hi everybody, sorry if this seems stupid but I'm a newbie :-( to all of
this.

I'm trying to hide the full file path in IE7 and IE6 while a user clicks on
alink on my page and downloads a file from my server, just want to open the
file download box but the path must remain invisible.

I've achieved this successfully in all other browsers (Fire fox, safari,
opera) with a simple call from my asp.net 2.0 page to a JavaScript function
that
only has a window.location(http://www.someaddress.com/myfile.zip), in an
external JavaScript file, like this:

<script type="text/JavaScript" src="somelink.js"></script>
</head>
<body>
<a href="javascript:downloadlink();" onmouseover="status='see you'; return
true;" onmouseout="status='later';">Download File</a>
</body>
How can achieve the same functionality in IE7 and IE6, please any help would
be greatly appreciated this is urgent.

Thanks in advanced

Jul 18 '08 #2

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

Similar topics

4
by: Atz | last post by:
<a href="" onmousedown="setTimeout('status=\'Hide\'',5000)" onmouseover="window.status='Hide'; return true"> send link </a> I use this for hidding link path in status bar. This is working fine...
9
by: Ian Shere | last post by:
I have a disclaimer page prior to a visitor going to my FAQ page. I want to hide the link which normally appears in the status bar from visitors seeing it. I am using the following code which...
5
by: jeff | last post by:
Hello, I am coding a web application to be used on an internal Intranet. I have already coded a menubar for the application using DHTML. I want to get rid of the standard menubar in Mozilla...
3
by: Pandora Law | last post by:
This probably belongs more correctly in an IE5 newsgroup since it relates to use on a machine that has IE 5.00.3314, but I can't find a suitable group .... and I cant locate an answer on Google...
5
by: Boo | last post by:
I know it's possible to manipulate the status bar when a user scrolls over links, but is there a way to completely disable or hide it? I have a flash program that connects to a database every 5...
3
by: sasikumar | last post by:
Can i hide page name (default.aspx) appearing in addressbar and status bar of internet explorer or firefox. if yes please tell me vb.net code for that.
11
by: =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
With Apache's mod_rewrite module I can keep *.php files and load them as *.html files: # Make http//example.com/foo/bar.html load /home/site/foo/bar.php RewriteEngine On RewriteRule...
9
by: PomonaGrange | last post by:
HI All, I've been trying to make a membership management type script. This script would have a database with the members contact info and which office they hold, if any. The problem I am having is I...
9
by: tshad | last post by:
I have a Windows App that is doing some work and then writing a "Now Processing..." line to the status line of the window as well as the Textbox on the form. But the problem is that the work is...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.