Hi Dave,
As for the "File download popup" problem, it is a client-side behavior. So
generally, the server-side code hasn't means to control it. What you can do
in server-side page code is just add the following like response header
(for the response file stream):
Response.AddHeader "content-disposition","inline; filename=fname.ext"
And on client machine(which run the IE browser), you need to configure the
explorer "folder option" as below:
** open windows explorer, select tools--->folder options menu
** in the popup dialog, choose "File types" tab
** select the certain document extension(such a .docx for word)
** you can find the following options:
"confirm open after download"
"browse in the same window"
You can try adjusting the options.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we
can improve the support we provide to you. Please feel free to let my
manager know what you think of
the level of service provided. You can send feedback directly to my manager
at: msdnmg@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from
the community or a Microsoft Support Engineer within 2 business day is
acceptable. Please note that
each follow up response may take approximately 2 business days as the
support professional working
with you may need further investigation to reach the most efficient
resolution. The offering is not
appropriate for situations that require urgent, real-time or phone-based
interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft
Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?RGF2ZQ==?= <daveII@nospam.nospam>
>Subject: File Download PopUp
>Date: Wed, 12 Nov 2008 17:22:01 -0800
>When an attachment is loaded in IE, how can the following IE pop-up be
>bypassed?
[quoted text clipped - 8 lines]
>Instead of receiving the popup, the attachment should simply Open. Not
>looking for a security lecture but a solution.
Dave - 13 Nov 2008 06:53 GMT
Thanks for the response!
Unfortunately, I don't have control over the server side code. It is an
Email that is sent from a customer with the desired attachment.
Also, unfortunately, my "confirm open after download" setting is already
unchecked. (Checking it made no difference.)
Finally, "browse in the same window" is disabled and unchecked.
What other suggestions are there?
> Hi Dave,
>
[quoted text clipped - 81 lines]
> >Instead of receiving the popup, the attachment should simply Open. Not
> >looking for a security lecture but a solution.
Steven Cheng - 17 Nov 2008 02:30 GMT
Hi Dave,
It seems both of the following two things are required for the browser to
open document in browser window:
1. Have the certain activeX component that can open certain files/docs in IE
2. The server-side write out the correct http header that indicate the
browser to open file in browser window
here is another article which mentioned this:
#Open/Save Dialog Box - open file in new browser window
http://madalina.blog.com/1144308/
If the server-side is completely unreachable, that will limit the
client-side behavior.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
--------------------
>From: =?Utf-8?B?RGF2ZQ==?= <daveII@nospam.nospam>
>References: <A8A26FFB-BB31-4B94-8385-1A5E82B3FDEC@microsoft.com>
<MwYQThVRJHA.5564@TK2MSFTNGHUB02.phx.gbl>
>Subject: RE: File Download PopUp
>Date: Wed, 12 Nov 2008 22:53:00 -0800
>Thanks for the response!
>
[quoted text clipped - 50 lines]
>> ==================================================
>> Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
>> Note: MSDN Managed Newsgroup support offering is for non-urgent issues
>> where an initial response from
[quoted text clipped - 36 lines]
>> >Instead of receiving the popup, the attachment should simply Open. Not
>> >looking for a security lecture but a solution.