Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > bypass open/save/cancel dialog box

Reply
Thread Tools

bypass open/save/cancel dialog box

 
 
Jon Paal
Guest
Posts: n/a
 
      01-22-2007
how can I bypass the open/save/cancel dialog box and have the document requested open directly in the application associated with
the file type ?



 
Reply With Quote
 
 
 
 
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
Guest
Posts: n/a
 
      01-22-2007
You cannot.
This is a browser security feature.
Would you want some rogue web site opening documents (that may or may not be
infected) on your computer without your permission?

The only way would probably be if you had an embedded ActiveX control and
the user accepted its security warning.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message
news:...
> how can I bypass the open/save/cancel dialog box and have the document
> requested open directly in the application associated with the file type ?
>
>
>


 
Reply With Quote
 
 
 
 
Jon Paal
Guest
Posts: n/a
 
      01-22-2007
I understand the security issue, but it seems I've seen sites where a downloaded document is opened in a new window...or is this is
old style, eliminated as security over time has been upgraded ?



"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <> wrote in message
news:94F6364D-AF09-4B03-94BC-...
> You cannot.
> This is a browser security feature.
> Would you want some rogue web site opening documents (that may or may not be infected) on your computer without your permission?
>
> The only way would probably be if you had an embedded ActiveX control and the user accepted its security warning.
>
> --
> I hope this helps,
> Steve C. Orr,
> MCSD, MVP, CSM, ASPInsider
> http://SteveOrr.net
>
>
> "Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message news:...
>> how can I bypass the open/save/cancel dialog box and have the document requested open directly in the application associated with
>> the file type ?
>>
>>
>>

>



 
Reply With Quote
 
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
Guest
Posts: n/a
 
      01-22-2007
You can specify that you want a document opened in a new window or the same
window, but the user must still accept the opening of the file via a dialog
box. This security feature has been in place for many years; ever since I
can remember.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message
news:...
>I understand the security issue, but it seems I've seen sites where a
>downloaded document is opened in a new window...or is this is old style,
>eliminated as security over time has been upgraded ?
>
>
>
> "Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <> wrote in
> message news:94F6364D-AF09-4B03-94BC-...
>> You cannot.
>> This is a browser security feature.
>> Would you want some rogue web site opening documents (that may or may not
>> be infected) on your computer without your permission?
>>
>> The only way would probably be if you had an embedded ActiveX control and
>> the user accepted its security warning.
>>
>> --
>> I hope this helps,
>> Steve C. Orr,
>> MCSD, MVP, CSM, ASPInsider
>> http://SteveOrr.net
>>
>>
>> "Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message
>> news:...
>>> how can I bypass the open/save/cancel dialog box and have the document
>>> requested open directly in the application associated with the file type
>>> ?
>>>
>>>
>>>

>>

>
>


 
Reply With Quote
 
Jon Paal
Guest
Posts: n/a
 
      01-22-2007
assuming they accept it , how do I get it to open in a window instead of the application. Such as a pdf file ?


"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <> wrote in message
news:B10D79F8-F9CB-4BE5-BA75-...
> You can specify that you want a document opened in a new window or the same window, but the user must still accept the opening of
> the file via a dialog box. This security feature has been in place for many years; ever since I can remember.
>
> --
> I hope this helps,
> Steve C. Orr,
> MCSD, MVP, CSM, ASPInsider
> http://SteveOrr.net
>
>
> "Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message news:...
>>I understand the security issue, but it seems I've seen sites where a downloaded document is opened in a new window...or is this
>>is old style, eliminated as security over time has been upgraded ?
>>
>>
>>
>> "Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <> wrote in message
>> news:94F6364D-AF09-4B03-94BC-...
>>> You cannot.
>>> This is a browser security feature.
>>> Would you want some rogue web site opening documents (that may or may not be infected) on your computer without your permission?
>>>
>>> The only way would probably be if you had an embedded ActiveX control and the user accepted its security warning.
>>>
>>> --
>>> I hope this helps,
>>> Steve C. Orr,
>>> MCSD, MVP, CSM, ASPInsider
>>> http://SteveOrr.net
>>>
>>>
>>> "Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message news:...
>>>> how can I bypass the open/save/cancel dialog box and have the document requested open directly in the application associated
>>>> with the file type ?
>>>>
>>>>
>>>>
>>>

>>
>>

>



 
Reply With Quote
 
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
Guest
Posts: n/a
 
      01-22-2007
Well a PDF file can generally only be opened by Adobe Acrobat, so you'd have
to launch that.

I suppose you could export the content to HTML format and then you could
display it in a window without the application and without security
problems.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message
news:...
> assuming they accept it , how do I get it to open in a window instead of
> the application. Such as a pdf file ?
>
>
> "Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <> wrote in
> message news:B10D79F8-F9CB-4BE5-BA75-...
>> You can specify that you want a document opened in a new window or the
>> same window, but the user must still accept the opening of the file via a
>> dialog box. This security feature has been in place for many years; ever
>> since I can remember.
>>
>> --
>> I hope this helps,
>> Steve C. Orr,
>> MCSD, MVP, CSM, ASPInsider
>> http://SteveOrr.net
>>
>>
>> "Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message
>> news:...
>>>I understand the security issue, but it seems I've seen sites where a
>>>downloaded document is opened in a new window...or is this is old style,
>>>eliminated as security over time has been upgraded ?
>>>
>>>
>>>
>>> "Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <> wrote in
>>> message news:94F6364D-AF09-4B03-94BC-...
>>>> You cannot.
>>>> This is a browser security feature.
>>>> Would you want some rogue web site opening documents (that may or may
>>>> not be infected) on your computer without your permission?
>>>>
>>>> The only way would probably be if you had an embedded ActiveX control
>>>> and the user accepted its security warning.
>>>>
>>>> --
>>>> I hope this helps,
>>>> Steve C. Orr,
>>>> MCSD, MVP, CSM, ASPInsider
>>>> http://SteveOrr.net
>>>>
>>>>
>>>> "Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message
>>>> news:...
>>>>> how can I bypass the open/save/cancel dialog box and have the document
>>>>> requested open directly in the application associated with the file
>>>>> type ?
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>

>>

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
div box questions; float text around a box, fit box to image size Gnarlodious HTML 4 05-05-2010 11:30 AM
Building a dialog box in that looks like Confirmation box (ASP.NET). Please help !!! bienwell ASP .Net 5 08-13-2006 03:54 AM
Bypass username/password dialog when accessing remote network thoducng@gmail.com ASP .Net 1 10-17-2005 09:07 PM
How to hide the dialog when execute a dialog based application in VC? yw C++ 3 07-02-2005 03:35 AM
display print preview dialog, not print dialog Matt Javascript 1 11-20-2004 01:18 AM



Advertisments