Capture Path from upload file control

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
 
V

Vaibhav

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top