Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
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 26-Mar-13 23:52pm
kish's860
Edited 27-Mar-13 0:08am
phil.o35.7K
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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).
  Permalink  

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



Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 27 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100