Click here to Skip to main content
16,015,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using file upload control inside the update panel. in my page there are max of 5-6 buttons are present when we click on any button the page postbacks and the path is getting cleared from the fileuploader. is there any way to hold value inside the file uploader.

Please give me the solution for this as soon as possible...
Posted
Updated 26-Mar-13 23:08pm
v2

1 solution

No.
The file uploader does not path the path to the server in any form for security reasons. Think about it: the device running the browser may not even have a concept of paths, much less a path that your server can understand or relate to. It could be a PC, and MAC, or an internet enabled fridge for all you know - you cannot access information other than the file name (except in special cases, which do not occur in 99.999% of browser cases).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900