Re: file open with web app

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yes, this is likely the Windows Forms dialog.

You have nothing out of the box for this as accessing client side files from
a server would be a security issue so HTML has only something that allows
the *user* to select a file (i.e. setting the file path programmatically
wont work). You can do so but you have then to install something client side
the user will have to accept...

Also as you have seen Server.MapPath is to map the location of a file on
your web site to a physical location on your server i.e. this is used when
files are handled server side not client side...

Here you don"t have anything to use . You just provide the approrpiate link
and the browser will open the file...

--
Patrice


"Paul" <Paul@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de groupe de
discussion : B4127F3F-BD66-417C-9E5C-576F81BABB49@xxxxxxxxxxxxxxxx
I located the open file dialog in the toolbox but it is not enabled.
Wondering if this control only works for windows apps!--
Paul G
Software engineer.


"Paul" wrote:

Hi I am able to upload files to a server with a .net web application.
The
problem is I am providing a hyperlink so the user can open the file after
it
is placed on the server. For the URL I am using the absolute path to the
file and setting this dynamically after the file is uploaded. For the
hyperlink I have the target set to _blank. When clicking on the
hyperlink
nothing happens, wondering if I need to use a file open control and if
there
is one with .net 2005?
thanks!
--
Paul G
Software engineer.


.



Relevant Pages

  • RE: Printing from Win9x clients stops
    ... Open Server Management. ... then right-click the name of the computer running Windows Small Business ... >From the client computer: ... The Select Network Component Type ...
    (microsoft.public.windows.server.sbs)
  • RE: Printing from Win9x clients stops
    ... The printers with 9x drivers on the server appeared automatically in the ... > then right-click the name of the computer running Windows Small Business ... > From the client computer: ... The Select Network Component Type ...
    (microsoft.public.windows.server.sbs)
  • Re: after installing KB011829 OWA is not working anymore
    ... Based on my research, after you install hotfix KB911829, I suggest we ... Profile WMI Provider to each client computer that is running Windows Vista ... If you are running the Premium Edition of Windows Small Business Server ...
    (microsoft.public.exchange.connectivity)
  • Re: DHCP Issues. Very strange
    ... I understand the issue to be: some client computers ... can not obtain IP from SBS server. ... it is most possible a client side issue of Windows ... since you have join it to SBS domain and the Windows XP SP2 ...
    (microsoft.public.windows.server.sbs)
  • Site-tosite VPN Issue
    ... Windows Server 2003 domain controller ... Mixture of PCs running Windows 2000 Profressional with SP3 and Windows XP ... the VPN to the Windows Server 2003 domain controller. ... 12.7MB file from the server to the client PC. ...
    (microsoft.public.windows.server.networking)