Capture Path from upload file control

  • Thread starter Thread starter syd
  • Start date Start date
S

syd

I have an intranet app that i would like to just capture the Path contained
in the file field html control. The app will reside on an intranet and we
all will have access to this path - it seems a waste to upload the file.
The browse button will capture the path just fine, and display it in the
associated text box. But i can't see to find a way to capture that path on
postback....

I tried looking in the form fields collection but it doesn't seem to be
there. I would hate to have to captuer it in some javascript on the
client.

Stuck in the middle of nowhere
Syd
 
If i am undertsanding your question correct, then this is the way to get the
path

(associatedtextboxName.PostedFile.FileName) and the control should be a
server side control.

HTH
 
Back
Top