Click here to Skip to main content
13,139,114 members (63,020 online)
Rate this:
Please Sign up or sign in to vote.
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 26-Mar-13 22:52pm
Updated 26-Mar-13 23:08pm

1 solution

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

Solution 1

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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170915.1 | Last Updated 27 Mar 2013
Copyright © CodeProject, 1999-2017
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