Calling Open With dialog from asp.net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Friends,
I would like to show the Open With dialog of windows (the one which is shown
when windows couldn't find the application to open the file) to the user on
some specific event.

Can somebody tell me how can I do that.
Thanks!
 
Somesh said:
Hi Friends,
I would like to show the Open With dialog of windows (the one which
is shown when windows couldn't find the application to open the file)
to the user on some specific event.

Can somebody tell me how can I do that.
Thanks!

Showing Open With in the browser (client-side) will occur automatically when
the file extension is not known on the user's system. There is no way you
can control this in your application (it's controlled by the browser).

If you add code in your application to open this dialog, it will be shown on
the server, and it will not be accessible to the user.
 
Hi Riki,
Thanx for the prompt reply.
You are right that browser would automatically prompt when the file is
unknown. But it always gives an option to "Open" not "Open With".
If you press Open it will try and open the file in the same browser window
rather than giving you a list of applications as we get in case of Open With.
 
Back
Top